Commit Graph
3 Commits
Author SHA1 Message Date
Illusion 080f2f1aa4 zephr/ui: replace styling ui through function arguments with a generic UiStyle struct 2024-01-08 22:27:54 +02:00
Illusion e543b5f882 zephr/game: various fixes and improvements
- zephr: handle newlines in text
- fix(zephr): don't overflow color channels bytes when multiplying
  colors
- fix(zephr): don't fallback to UI_CONSTRAINT_FIXED when setting the x
  or y constraint to UI_CONSTRAINT_RELATIVE_PIXELS
- game: added how to play dialog
- game: ability to start a new game
2023-12-29 15:12:43 +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