GuiListView method

(int, int, int) GuiListView(
  1. RectangleD bounds,
  2. String? text, {
  3. int? scrollIndex,
  4. int? active,
})

Implementation

(int result, int scrollIndex, int active) GuiListView(
  RectangleD bounds,
  String? text, {
    int? scrollIndex,
    int? active,
  }
) => run(
  () => 'GuiListView($bounds, $text, $scrollIndex, $active)',
  () {
    final scrollIndexPtr = rl.Temp.Int$.RefOrNull1(scrollIndex);
    final activePtr = rl.Temp.Int$.RefOrNull2(active);
    final result = rl.Gui.GuiListView(
      rl.Temp.Rectangle$.Ref1(bounds).ref,
      rl.Temp.String$.ValueOrNull(text),
      scrollIndexPtr,
      activePtr,
    );
    return (result, scrollIndexPtr.value, activePtr.value);
  },
);