GuiListViewEx method
List View with extended parameters
Implementation
@override
(int result, int? scrollIndex, int? active, int? focus) GuiListViewEx(
RectangleD bounds,
List<String>? text, {
int? scrollIndex,
int? active,
int? focus,
}
) => run(
() => RaylibDebugLabels.GuiListViewEx(bounds, text, scrollIndex: scrollIndex, active: active, focus: focus),
() {
final scrollIndexPtr = rl.Temp.Int$.RefOrNull1(scrollIndex);
final activePtr = rl.Temp.Int$.RefOrNull2(active);
final focusPtr = rl.Temp.Int$.RefOrNull3(focus);
final result = rl.Gui.GuiListViewEx(
rl.Temp.Rectangle$.Ref1(bounds).ref,
text == null ? nullptr : rl.Temp.String$.Array(text),
text?.length ?? 0,
scrollIndexPtr,
activePtr,
focusPtr,
);
return (
result,
scrollIndex == null ? null : scrollIndexPtr.value,
active == null ? null : activePtr.value,
focus == null ? null : focusPtr.value,
);
},
);