Commit Graph
17 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 0b89bf2390 zephr/ui: introduce IDs to ui elements to track the active element 2024-01-08 05:55:58 +02:00
Illusion 56a6ace875 zephr/ui: make color picker slider and canvas draggability work outside their rects 2024-01-08 02:57:01 +02:00
Illusion 7068f399f4 fix(zephr): change window type hint to be normal and fix fullscreen on WMs that use _NET_WM_ALLOWED_ACTIONS 2024-01-06 01:54:36 +02:00
Illusion 66be747922 fix(zephr): correct window name in gnome's sidebar 2024-01-05 23:59:35 +02:00
Illusion bba2f8a189 WIP: settings, color picker and stuff 2024-01-05 22:19:31 +02:00
Illusion b8d11050f8 animate tile spawning 2023-12-29 23:09:30 +02:00
Illusion 63de22e0f4 feat: simple game over screen 2023-12-29 21:18:13 +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 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 499591162e dont scale border radius with window size 2023-12-17 03:47:11 +02:00
Illusion 788109eccd tile merging and fixed game logic 2023-12-15 08:41:07 +02:00
Illusion 9620e12681 basic game logic with simple translation animation 2023-12-13 06:58:08 +02:00
Illusion 7360359a48 license and readme 2023-09-02 00:16:59 +03:00
Illusion 87646e657b initial commit 2023-09-02 00:06:08 +03:00