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
// 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.
23
bool
show_connected_canvas_view
=
false
;
24
};
25
26
}
// namespace yaze::editor
27
28
#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::left_width
float left_width
Definition
dungeon_workbench_state.h:16
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:23
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:20
yaze::editor::DungeonWorkbenchLayoutState::right_width
float right_width
Definition
dungeon_workbench_state.h:17
src
app
editor
dungeon
dungeon_workbench_state.h
Generated by
1.10.0