Commit Graph
9 Commits
Author SHA1 Message Date
Illusion 1c9d084113 fix(zephr/ui): color picker and small mouse event fixes
- reset pressed state at the end of the frame
- correctly place the color picker regardless of window size
- make color picker popup border radius consistent regardless of window
  size
- don't draw the color picker popup if it's parent is not visible
2024-01-09 03:27:54 +02:00
Illusion 12626a513e zephr/ui: dynamically determine color picker buttons' text color and crosshairs selection's color 2024-01-09 01:13:01 +02:00
Illusion 080f2f1aa4 zephr/ui: replace styling ui through function arguments with a generic UiStyle struct 2024-01-08 22:27:54 +02:00
Illusion 0b89bf2390 zephr/ui: introduce IDs to ui elements to track the active element 2024-01-08 05:55:58 +02:00
Illusion bba2f8a189 WIP: settings, color picker and stuff 2024-01-05 22:19:31 +02:00
Illusion 31f22a4ba7 zephr/game: disabled and inactive buttons. quit confirmation dialog 2023-12-28 01:43:06 +02:00
Illusion 2f88c53a07 zephr/game: textures, icons, and buttons
- zephr: correctly set cursor when hovering button
- zephr: added texture loading and displaying
- zephr: added icon button
- game: added help and settings icon buttons
2023-12-27 22:42:35 +02:00
Illusion 2fc8ac6456 WIP(zephr): window icon. basic ui button
- zephr: added ability to assign an icon to a window
- zephr: added a basic ui button with hover and click states and cursor
  change
2023-12-17 03:52:35 +02:00
Illusion 9620e12681 basic game logic with simple translation animation 2023-12-13 06:58:08 +02:00