Commit Graph

20 Commits

Author SHA1 Message Date
c53b9eed5e MAYBE correct layout with next_row and next_column 2025-02-01 01:01:13 +01:00
78e2c64da6 implemented adaptive size divs 2024-12-26 22:58:43 +01:00
16adfd7cc5 idk look at the changes 2024-12-25 12:30:35 +01:00
a0c6a3b2cb work on button with label 2024-12-20 19:50:58 +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
601a396aa8 scrollbar fixup 2024-12-19 00:29:30 +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
2e0c6333d3 draw border around floating divs 2024-12-16 17:06:16 +01:00
5a89e9ec7d fixed formatting fuckups offered by the zed team 2024-12-14 13:29:45 +01:00
089140e1ed substitute enqueue() with push_rect() 2024-12-13 13:51:23 +01:00
328cac871a started work on border radius 2024-12-12 15:46:24 +01:00
7e18c7a316 only reset div elements to default if new element 2024-12-01 00:28:08 +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
763e9ba8d6 correct placement and box model 2024-11-14 23:42:20 +01:00
250a0fb3b5 initial work on scrollable divs 2024-11-07 18:35:20 +01:00