GuiDropdownBox method
Dropdown Box control
Implementation
(GuiResult result, int active) GuiDropdownBox(
RectangleD bounds,
String? text,
num active,
bool editMode,
) => run(
() => _debugLabels.GuiDropdownBox(bounds, text, active, editMode),
() {
final valuePtr = $.Int$.Ref1(active.toInt());
final result = _flat.GuiDropdownBox(
bounds,
$.String$.ValueOrNull(text),
valuePtr,
editMode,
);
return (.fromValue(result), valuePtr.value);
},
);