Commit Graph

23 Commits

Author SHA1 Message Date
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
d35ef7ddaf re-implemented toggles 2025-09-12 22:44:33 +02:00
e328a67d96 re-implemented checkbox 2025-09-12 12:48:29 +02:00
0f7d5a6506 working example of the new layout system 2025-09-05 13:10:16 +02:00
5e5c912092 use the specified allocator for the element caches 2025-08-29 19:24:52 +02:00
00299bec0b fix calculator demo
turns out it was an incorrect handling of  scissor test
2025-08-16 10:10:06 +02:00
78fc1c1e87 cleaner get_parent() 2025-07-14 13:05:30 +02:00
00aa01109e crash if last element is not root 2025-07-14 12:57:53 +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
9fc1d90455 simple style import with a subset of css 2025-07-04 11:17:42 +02:00
a390a8908c changed Id to uint since builtin hash functions hash to uints 2025-07-01 16:48:30 +02:00
c49a689304 get_elem now also pushes into the tree and check the correct type 2025-07-01 16:03:11 +02:00
849b267f91 renamed get_element_by_tree_idx to get_active_div 2025-07-01 15:33:22 +02:00
586e81935c improved the api to not require explicit labels everywhere 2025-06-30 18:24:50 +02:00
972c9b581d text input box 2025-06-30 13:10:00 +02:00
f30db0dd47 implemented instanced rendering 2025-06-15 18:54:35 +02:00
458c45d2b9 using the new renderer 2025-06-12 19:49:43 +02:00
c4a3dd3a26 tweak ugui api, add some usefult functions 2025-06-12 18:56:57 +02:00
ac3fcae649 sorting the command buffer 2025-06-03 22:03:14 +02:00
c9b74aebc7 implement z index in command buffer 2025-06-03 18:15:46 +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