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
4namespace 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.
9 bool show_left_sidebar = 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.
22
23 // Session-only presentation options, adjustable without rebuilding the app.
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
Editors are the view controllers for the application.