Commit Graph

14 Commits

Author SHA1 Message Date
9aa0d58d68 better to_rgba() macro 2024-12-28 16:59:12 +01:00
78e2c64da6 implemented adaptive size divs 2024-12-26 22:58:43 +01:00
a0c6a3b2cb work on button with label 2024-12-20 19:50:58 +01:00
f7985f8c7f track focused and hovered elements 2024-12-20 01:45:10 +01:00
1088083e1e stuff, mostly renaming variables 2024-12-19 15:24:39 +01:00
a481269022 work on div sliders, major changes
* Ids are now keyed based on the parent's id, this means that an element can have
  the same label when placed in different divs
* Divs now enable the scissor test, this way the elements cannot draw outside of
  the parent div bounds
* Introduced a LAYOUT_ABSOLUTE that disables all layout logic, for internal use
* Divs now draw scrollbars using the slider_hor and slider_ver elements
2024-12-18 20:04:23 +01:00
8d4b353e88 a lot of work on sliders 2024-12-18 14:58:40 +01:00
c0e9565bf6 idk some stuff 2024-12-17 11:26:59 +01:00
328cac871a started work on border radius 2024-12-12 15:46:24 +01:00
9a785e0f06 use builtin hash functions instead of rolling my own 2024-11-21 00:50:11 +01:00
73bc933eb5 semi-working vertical slider 2024-11-17 23:36:12 +01:00
8bc38452b3 renamed elem.rect to elem.bounds 2024-11-02 09:44:53 +01:00
28598f0575 slider 2024-10-31 13:04:30 +01:00
f48151b38e initial refactor 2024-10-31 00:04:49 +01:00