GuiCheckBox method
Implementation
(int result, bool checked) GuiCheckBox(
RectangleD bounds,
String? text,
bool checked,
) => run(
() => 'GuiCheckBox($bounds, $text, $checked)',
() {
final valuePtr = rl.Temp.Bool$.Ref1(checked);
final result = rl.Gui.GuiCheckBox(
rl.Temp.Rectangle$.Ref1(bounds).ref,
rl.Temp.String$.ValueOrNull(text),
valuePtr,
);
return (result, valuePtr.value);
},
);