yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
dungeon_workbench_state.h
Go to the documentation of this file.
1
#ifndef YAZE_APP_EDITOR_DUNGEON_DUNGEON_WORKBENCH_STATE_H
2
#define YAZE_APP_EDITOR_DUNGEON_DUNGEON_WORKBENCH_STATE_H
3
4
namespace
yaze::editor
{
5
6
// UI-only state for the Dungeon Workbench layout. This is intentionally kept
7
// separate from room data so we can reset it cleanly on ROM changes.
8
struct
DungeonWorkbenchLayoutState
{
9
bool
show_left_sidebar
=
true
;
10
bool
show_right_inspector
=
true
;
11
12
// The browser includes a narrow navigation rail. Selection and the room
13
// matrix share the right pane, independently of the active browser.
14
float
left_width
= 304.0f;
15
float
right_width
= 280.0f;
16
17
// Split/compare quality-of-life.
18
bool
sync_split_view
=
false
;
19
20
// Read-only stitched room matrix view for browsing adjacent rooms.
21
bool
show_connected_canvas_view
=
false
;
22
23
// Session-only presentation options, adjustable without rebuilding the app.
24
bool
show_room_context_row
=
true
;
25
bool
show_nearby_rooms
=
true
;
26
float
nearby_rooms_height
= 120.0f;
27
};
28
29
}
// namespace yaze::editor
30
31
#endif
// YAZE_APP_EDITOR_DUNGEON_DUNGEON_WORKBENCH_STATE_H
yaze::editor
Editors are the view controllers for the application.
Definition
patch_export_usage.cc:9
yaze::editor::DungeonWorkbenchLayoutState
Definition
dungeon_workbench_state.h:8
yaze::editor::DungeonWorkbenchLayoutState::nearby_rooms_height
float nearby_rooms_height
Definition
dungeon_workbench_state.h:26
yaze::editor::DungeonWorkbenchLayoutState::left_width
float left_width
Definition
dungeon_workbench_state.h:14
yaze::editor::DungeonWorkbenchLayoutState::show_room_context_row
bool show_room_context_row
Definition
dungeon_workbench_state.h:24
yaze::editor::DungeonWorkbenchLayoutState::show_left_sidebar
bool show_left_sidebar
Definition
dungeon_workbench_state.h:9
yaze::editor::DungeonWorkbenchLayoutState::show_connected_canvas_view
bool show_connected_canvas_view
Definition
dungeon_workbench_state.h:21
yaze::editor::DungeonWorkbenchLayoutState::show_right_inspector
bool show_right_inspector
Definition
dungeon_workbench_state.h:10
yaze::editor::DungeonWorkbenchLayoutState::sync_split_view
bool sync_split_view
Definition
dungeon_workbench_state.h:18
yaze::editor::DungeonWorkbenchLayoutState::show_nearby_rooms
bool show_nearby_rooms
Definition
dungeon_workbench_state.h:25
yaze::editor::DungeonWorkbenchLayoutState::right_width
float right_width
Definition
dungeon_workbench_state.h:15
src
app
editor
dungeon
dungeon_workbench_state.h
Generated by
1.10.0