Widgets
Button
The button configuration is at gmwButton, see gmwbuttonTheme.
You draw a button with gmw_button,
the gmw_button function also returns one if the button is hovered, this
permits you to test if the button is clicked by testing if the function returns 1
and gm_mouse.pressed or gm_mouse.down.
Example
Tips
- If you don't want to show text in the button you can pass
NULLin place of text.
