Commit Graph
24 Commits
Author SHA1 Message Date
Patrick Jakobsen fe179f2eee Cleanup 2023-10-01 12:00:04 +02:00
Patrick Jakobsen 591a53e627 Scrollable region 2023-10-01 11:35:02 +02:00
Patrick Jakobsen 44d375af29 Fixed gui_push_parent and gui_pop_parent using wrong subtree 2023-10-01 09:17:09 +02:00
Patrick Jakobsen 861e774dee Disabled a debugging printing 2023-09-28 15:44:38 +02:00
Patrick Jakobsen dc39f583f4 Subtrees get dirtied when their clipnodes do 2023-09-28 15:43:47 +02:00
Patrick Jakobsen b2b8e68046 Started on clipping 2023-09-28 13:37:27 +02:00
Patrick Jakobsen ebbf17cb42 gui nodes now end up where they are supposed to 2023-09-28 13:03:25 +02:00
Patrick Jakobsen 592b26fc10 revised print_node_tree 2023-09-28 11:56:01 +02:00
Patrick Jakobsen 2db1602172 Fixed errorneous dirty-redraw of siblings 2023-09-28 11:39:05 +02:00
Patrick Jakobsen 9477dc3115 Added TODO about revising the dirty system 2023-09-28 11:03:54 +02:00
Patrick Jakobsen d947cc9eeb Recursive subtree layouting and drawing 2023-09-28 10:55:04 +02:00
Patrick Jakobsen e12892f688 test_gui__subtree doesn't crash, but also doesn't work 2023-09-28 10:08:17 +02:00
Patrick Jakobsen 0cb37f5596 Got some input working again 2023-09-28 09:58:25 +02:00
Patrick Jakobsen eeb0430300 WIP GUI_Layer, at partial working state 2023-09-26 16:29:00 +02:00
Patrick Jakobsen 5cd73cf2c5 WIP GUI_Layer 2023-09-26 12:29:32 +02:00
Patrick Jakobsen 2b7f37251e Added warning about using compupted_size wrong 2023-09-26 10:50:59 +02:00
Patrick Jakobsen 212136a35a Removed some now-superfluous casts 2023-09-26 10:43:07 +02:00
Patrick Jakobsen 69c810702d Introduced GUI_Node_Reference wrapper type 2023-09-26 10:41:49 +02:00
Patrick Jakobsen e787d2dd3a Semantic subtree positioning 2023-09-26 09:22:31 +02:00
Patrick Jakobsen 9ed7d82d09 WIP subtree offsetting
The current wip code is problematic because it relies on the computed_size of the nodes, which conflicts with dirty-redrawing because it is always be a frame behind.
2023-09-25 18:30:25 +02:00
Patrick Jakobsen 3477b9b33b . 2023-09-25 17:53:57 +02:00
Patrick Jakobsen 4166547c8b Fixed slider looking empty on start 2023-09-25 17:46:48 +02:00
Patrick Jakobsen 44e444b552 Fix height bounds check bug in draw_rect3 2023-09-25 12:45:56 +02:00
Patrick Jakobsen 6b196fc399 Migration to this repository 2023-09-25 12:08:27 +02:00