Commit Graph

17 Commits

Author SHA1 Message Date
7f8b5196a5 new tree implementation
this about halves the time spent on level_order_it and drastically reduces the
time spent in children_it
2025-09-21 18:17:39 +02:00
48d1b29537 first draft for absolute positioning 2025-09-17 22:45:03 +02:00
622b648d26 corrected layout offset 2025-09-14 20:32:31 +02:00
34b92c93b4 re-implemented text box
also includes
	- small layout fix for grow elements
	- ElemEvents now includes has_focus flag
2025-09-13 19:53:50 +02:00
48a333e501 simplified code 2025-09-12 22:18:15 +02:00
be951c616a fix dimensions being calculated wrong 2025-09-12 12:47:00 +02:00
db63b2c6b1 layout actually works now 2025-09-08 23:43:59 +02:00
869c7871f9 minor changes 2025-09-06 12:50:36 +02:00
335624fcbe in layout use a combined version of margin, border and padding 2025-09-05 18:53:47 +02:00
0f7d5a6506 working example of the new layout system 2025-09-05 13:10:16 +02:00
e8bb35811a renamed position_element() to layout_element() 2025-07-14 13:16:04 +02:00
278e4988e9 use containing_rect() in position_element() 2025-07-14 13:10:14 +02:00
78fc1c1e87 cleaner get_parent() 2025-07-14 13:05:30 +02:00
80d17d7b33 unified button element 2025-07-13 20:08:18 +02:00
9afb0d2acd better default style handling 2025-07-06 23:50:36 +02:00
777e974841 use new style system 2025-07-05 16:37:08 +02:00
712ce50631 A lot of work
* moved all ugui code to lib/ugui.c3l and made it a library/module
* started work on a sdl3 renderer, with shaders etc
* added the new sdl3.c3l library as a dependency
* makefile is for the renderer
2025-06-01 16:44:31 +02:00