mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-13 04:51:25 -07: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:
@@ -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