16 Commits

Author SHA1 Message Date
9aa0d58d68 better to_rgba() macro 2024-12-28 16:59:12 +01:00
16adfd7cc5 idk look at the changes 2024-12-25 12:30:35 +01:00
ca691d1294 enlarge scrollbars when focused 2024-12-20 02:17:41 +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
5a89e9ec7d fixed formatting fuckups offered by the zed team 2024-12-14 13:29:45 +01:00
373243d138 fix rect roundness 2024-12-13 14:42:15 +01:00
089140e1ed substitute enqueue() with push_rect() 2024-12-13 13:51:23 +01:00
f86a360f39 correct slider handle placement 2024-12-02 18:48:30 +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
1cad13e597 vertical slider 2024-11-02 09:41:54 +01:00
28598f0575 slider 2024-10-31 13:04:30 +01:00