Commit graph

21 commits

Author SHA1 Message Date
hippoz
9c267cc87b
add on_click to buttons 2022-03-20 03:05:21 +02:00
hippoz
736cef4667
Fix activation and use toplevelstyles inside of widgets 2022-03-20 02:47:15 +02:00
hippoz
61b76df08b
keep track of focused widget on parent 2022-03-19 21:32:15 +02:00
hippoz
d6dcff2b7c
improve style prop macro name 2022-03-19 19:01:51 +02:00
hippoz
4ece938f1c
Respond to resize events properly
Previously, we used to not respond to resize events. Additionally,
resizing the window would cause flickering to appear in the area where
painting would happen. This patch fixes both of those issues.
2022-03-18 22:07:32 +02:00
hippoz
4a398f7a7b
make the main widget inheirt the geometry from the window 2022-03-18 19:50:32 +02:00
hippoz
cf5bcd63b2
remove empty cpp file 2022-03-18 03:24:40 +02:00
hippoz
19abbbf057
make all Box methods const 2022-03-18 03:24:02 +02:00
hippoz
9c830c48d6
clean up includes a bit 2022-03-18 03:22:30 +02:00
hippoz
26858b795d
remove annoying style_ prefix from DEF_STYLE and rename it to DEF_PROP 2022-03-18 03:04:34 +02:00
hippoz
c2a605f172
offload button colors to TopLevelStyles 2022-03-18 02:58:34 +02:00
hippoz
ef85745f58
text, hover, styles and buttons! 2022-03-18 02:49:16 +02:00
hippoz
9fe7659a0f
add simple button widget 2022-03-09 20:16:05 +02:00
hippoz
529c286b8f
dispatch repaint events and lay yet more groundwork 2022-03-09 20:02:18 +02:00
hippoz
b4cfe309f3
make window respond to events and lay more groundwork 2022-03-09 03:46:27 +02:00
hippoz
2cc5e1c1e0
basic structure 2022-03-08 02:25:22 +02:00
hippoz
f3ab6c72a1
fix commit 2022-01-22 17:53:53 +02:00
hippoz
090539e33b
Merge branch 'master' of https://git.hippoz.xyz/hippoz/uui 2022-01-22 17:53:12 +02:00
hippoz
1b53572480
Initial commit.
This commit adds some basic components.
Currently, there is an issue with the drawing order of the text.
2022-01-22 17:51:54 +02:00
dd2c24c23f Add 'LICENSE' 2021-12-19 16:27:55 +00:00
hippoz
2486c78f7c
Initial commit 2021-12-16 19:47:39 +02:00