Commit graph

7 commits

Author SHA1 Message Date
Konstantin8105
f19f61b778 step 2022-11-23 12:35:50 +03:00
Konstantin8105
e8a384ed13 step 2022-11-22 18:14:43 +03:00
Milan Nikolic
dda13779be
gofmt 2021-11-11 17:03:15 +01:00
Oliver 'kfsone' Smith
01408701f9 Use ConstrainRectangle in combobox.go 2021-02-24 13:51:09 -08:00
Oliver 'kfsone' Smith
69cba1203d Format cleanup 2021-02-24 13:23:26 -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
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