improve texed layout rules
parent
a42bdf1d3c
commit
77de2566dc
BIN
art/demo.ecotex
BIN
art/demo.ecotex
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 13 KiB |
|
@ -147,8 +147,8 @@ void texed_run(void) {
|
|||
|
||||
zpl_aabb2 topbar = zpl_aabb2_cut_top(&screen, 25.0f);
|
||||
zpl_aabb2 oplist_pane = zpl_aabb2_cut_right(&screen, screenWidth / 2.0f);
|
||||
zpl_aabb2 preview_window = zpl_aabb2_cut_top(&screen, (screen.max.y-screen.min.y) / 2.0f);
|
||||
zpl_aabb2 property_pane = screen;
|
||||
zpl_aabb2 property_pane = zpl_aabb2_cut_bottom(&screen, screenHeight / 2.0f);
|
||||
zpl_aabb2 preview_window = screen;
|
||||
|
||||
// NOTE(zaklaus): contract all panes for a clean UI separation
|
||||
oplist_pane = zpl_aabb2_contract(&oplist_pane, TD_UI_PADDING);
|
||||
|
|
Loading…
Reference in New Issue