GuiListViewEx method

(int, int, int, int) GuiListViewEx(
  1. RectangleD bounds,
  2. List<String> text, {
  3. int? scrollIndex,
  4. int? active,
  5. int? focus,
})

Implementation

(int result, int scrollIndex, int active, int focus) GuiListViewEx(
  RectangleD bounds,
  List<String> text, {
    int? scrollIndex,
    int? active,
    int? focus,
  }
) => run(
  () => 'GuiListViewEx($bounds, $text, $scrollIndex, $active, $focus)',
  () {
    final scrollIndexPtr = refInt1OrNull(scrollIndex);
    final activePtr = refInt2OrNull(active);
    final focusPtr = refInt3OrNull(focus);
    final result = rl.Gui.GuiListViewEx(
      _refRectangle1(bounds).ref,
      rl.Temp.String$.Array(text),
      text.length,
      scrollIndexPtr,
      activePtr,
      focusPtr,
    );
    return (result, scrollIndexPtr.value, activePtr.value, focusPtr.value);
  },
);