GuiButton method

  1. @override
int GuiButton(
  1. RectangleD bounds,
  2. MemoryPointer<RChar> text
)
override

Button control, returns true when clicked

Implementation

@override
int GuiButton(
  RectangleD bounds,
  MemoryPointer<RChar> text,
) => _ffi.GuiButton(
  $.Rectangle$.Ref1(bounds).asNativePointer<RectangleC>().ref,
  text.asNativePointer(),
);