mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-19 04:30:10 -08:00
checkpoint in first pass at new unified code view impl.; start setting up unified top-level code ctx menu
This commit is contained in:
1 parent
d12c5ec2e8
commit
010d5609c6
9 files changed
+275
-81
No files matched your search
@@ -2885,6 +2885,16 @@ ui_pop_rect(void)
|
||||
return popped;
|
||||
}
|
||||
|
||||
internal void
|
||||
ui_set_next_rect(Rng2F32 rect)
|
||||
{
|
||||
Vec2F32 size = dim_2f32(rect);
|
||||
ui_set_next_fixed_x(rect.x0);
|
||||
ui_set_next_fixed_y(rect.y0);
|
||||
ui_set_next_fixed_width(size.x);
|
||||
ui_set_next_fixed_height(size.y);
|
||||
}
|
||||
|
||||
internal UI_Size
|
||||
ui_push_pref_size(Axis2 axis, UI_Size v)
|
||||
{
|
||||
|
||||
@@ -976,6 +976,7 @@ internal UI_TextAlign ui_set_next_text_alignment(UI_TextAlign v);
|
||||
//- rjf: helpers
|
||||
internal Rng2F32 ui_push_rect(Rng2F32 rect);
|
||||
internal Rng2F32 ui_pop_rect(void);
|
||||
internal void ui_set_next_rect(Rng2F32 rect);
|
||||
internal UI_Size ui_push_pref_size(Axis2 axis, UI_Size v);
|
||||
internal UI_Size ui_pop_pref_size(Axis2 axis);
|
||||
internal UI_Size ui_set_next_pref_size(Axis2 axis, UI_Size v);
|
||||
|
||||
Reference in new issue
Block a user