coordinate space math fixes, got resize handles working in settings menu prototype

will eventually lift to its own generic widget

I still need to implement the corner resize..
This commit is contained in:
2024-05-09 04:02:33 -04:00
parent b8e8e7c88a
commit a2b6325b5b
15 changed files with 857 additions and 554 deletions

View File

@ -66,6 +66,9 @@ test_draggable :: proc()
draggable.style.layout.pos = debug.draggable_box_pos
draggable.style.layout.size.min = debug.draggable_box_size
draggable.text = { str_fmt_alloc("%v", debug.draggable_box_pos), {} }
draggable.text.runes = to_runes(draggable.text.str)
}
test_parenting :: proc( default_layout : ^UI_Layout, frame_style_default : ^UI_Style )