Commit graph

26 commits

Author SHA1 Message Date
Oliver 'kfsone' Smith
7fc3fbd39b Use ConstrainRectangle in button.go 2021-02-24 13:50:51 -08:00
Oliver 'kfsone' Smith
a9c43af1bc ToggleGroup cleanup [minor] 2021-02-24 13:49:34 -08:00
Oliver 'kfsone' Smith
e30bdc3edc ToggleButton cleanup 2021-02-24 13:48:15 -08:00
Oliver 'kfsone' Smith
bc456c6912 Added ConstrainRectangle helper 2021-02-24 13:26:40 -08:00
Oliver 'kfsone' Smith
69cba1203d Format cleanup 2021-02-24 13:23:26 -08:00
Oliver 'kfsone' Smith
113982db71 ProgressBar cleanup 2021-02-24 13:23:09 -08:00
Oliver 'kfsone' Smith
a406f4bf03 Label cleanup 2021-02-24 13:13:07 -08:00
Oliver 'kfsone' Smith
da00f22f9c Button cleanup
- Switch to using helpers to detect state and render boxes,
- Make state-coloring declarative as per combobox/checkbox,
- Use the clicked state,

No behavioral changes.
2021-02-24 12:59:43 -08:00
Oliver 'kfsone' Smith
b62c5f3020 Checkbox cleanup
- Switch to using helpers to detect state and render boxes,
- Make state-coloring declarative as per combobox,
- Use the clicked state,

No behavioral changes.
2021-02-24 12:59:11 -08:00
Oliver 'kfsone' Smith
cbecfffe04 Combobox cleanup
- Switch to using helpers to detect state and render boxes,
- Make state-coloring declarative in a simple table to reduce code footprint, separate concerns,
  without adding runtime overhead,
- Leverage 'Clicked' state (bonus: eliminates a collision check. A CPU cycle has emerged in the wild!)

No behavioral changes,
2021-02-24 12:46:46 -08:00
Oliver 'kfsone' Smith
c0b8c09edc Added 'SetStyleColor' to make it simpler to set a color 2021-02-24 12:25:49 -08:00
Oliver 'kfsone' Smith
0e83add8be Added bordered-rectangle helper functions (without adding users) 2021-02-24 12:19:31 -08:00
Oliver 'kfsone' Smith
eff176bb13 Added [optional] 'Clicked' state and GetInteractionState function 2021-02-24 12:18:45 -08:00
Oliver 'kfsone' Smith
8e6dcc45e1 Break raygui.go into separate files
- per-control .go file,
- separate file for style/property stuff,
- added NumProperties enum to the list of properties for constraint checking,
- should be no code changes
2021-02-24 12:18:02 -08:00
Oliver 'kfsone' Smith
c21a1463c9 cleanup of combobox and textheight 2021-02-23 18:45:53 -08:00
Milan Nikolic
08aa518a46 Update C sources, add new functions and rename package to 2018-10-08 18:56:34 +02:00
Milan Nikolic
07185b35c1 Fix BackSpace in TextBox 2018-05-07 18:49:04 +02:00
Milan Nikolic
a6d36a3699 Update C sources, add new functions 2018-05-06 09:34:11 +02:00
Milan Nikolic
9854c841fc Update GUI 2018-02-21 22:33:33 +01:00
Milan Nikolic
ab45d642e5 Update GUI 2017-10-27 20:01:32 +02:00
Milan Nikolic
6bcfa21235 Fix ineffectual assignments 2017-02-25 09:55:15 +01:00
Milan Nikolic
7e1cf349aa Golint 2017-02-21 15:19:22 +01:00
Milan Nikolic
29546140b9 Golint 2017-02-21 15:06:11 +01:00
Milan Nikolic
56debbf236 Improve GUI on Android, add OpenAsset function 2017-02-02 02:05:14 +01:00
Milan Nikolic
969ba1dc21 Golint 2017-02-01 01:50:51 +01:00
Milan Nikolic
d7ff68b487 Initial commit 2017-01-27 09:35:30 +01:00