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 // Remembered widths for the collapsible panes when expanded. The right
13 // inspector defaults narrower than the left room browser because the
14 // inspector content (selection details + bulk actions) fits comfortably at
15 // ~280 px, whereas the room matrix on the left wants a little more room.
16 float left_width = 280.0f;
17 float right_width = 280.0f;
18
19 // Split/compare quality-of-life.
20 bool sync_split_view = false;
21
22 // Read-only stitched room matrix view for browsing adjacent rooms.
24};
25
26} // namespace yaze::editor
27
28#endif // YAZE_APP_EDITOR_DUNGEON_DUNGEON_WORKBENCH_STATE_H
Editors are the view controllers for the application.