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.
13
float
left_width
= 280.0f;
14
float
right_width
= 320.0f;
15
16
// Split/compare quality-of-life.
17
bool
sync_split_view
=
false
;
18
};
19
20
}
// namespace yaze::editor
21
22
#endif
// YAZE_APP_EDITOR_DUNGEON_DUNGEON_WORKBENCH_STATE_H
23
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:13
yaze::editor::DungeonWorkbenchLayoutState::show_left_sidebar
bool show_left_sidebar
Definition
dungeon_workbench_state.h:9
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:17
yaze::editor::DungeonWorkbenchLayoutState::right_width
float right_width
Definition
dungeon_workbench_state.h:14
src
app
editor
dungeon
dungeon_workbench_state.h
Generated by
1.10.0