finish trimming old view rule code; get 3d geometry viewer back in good shape and integrated as a full view

This commit is contained in:
Ryan Fleury
2024-08-28 11:36:44 -07:00
parent 5ff9e47f8a
commit 22c4336375
16 changed files with 293 additions and 378 deletions
+2
View File
@@ -1047,6 +1047,8 @@ internal void ui_pop_corner_radius(void);
#define UI_TextAlignment(v) DeferLoop(ui_push_text_alignment(v), ui_pop_text_alignment())
//- rjf: stacks (compositions)
#define UI_FixedPos(v) DeferLoop((ui_push_fixed_x((v).x), ui_push_fixed_y((v).y)), (ui_pop_fixed_x(), ui_pop_fixed_y()))
#define UI_FixedSize(v) DeferLoop((ui_push_fixed_width((v).x), ui_push_fixed_height((v).y)), (ui_pop_fixed_width(), ui_pop_fixed_height()))
#define UI_WidthFill UI_PrefWidth(ui_pct(1.f, 0.f))
#define UI_HeightFill UI_PrefHeight(ui_pct(1.f, 0.f))
#define UI_Rect(r) DeferLoop(ui_push_rect(r), ui_pop_rect())