Per-ROM-session UI state shared by all GfxGroupEditor surfaces. More...
#include <gfx_group_workspace_state.h>

Public Attributes | |
| uint8_t | selected_blockset = 0 |
| uint8_t | selected_roomset = 0 |
| uint8_t | selected_spriteset = 0 |
| float | view_scale = 2.0f |
| gfx::PaletteCategory | selected_palette_category |
| uint8_t | selected_palette_index = 0 |
| bool | use_custom_palette = false |
Per-ROM-session UI state shared by all GfxGroupEditor surfaces.
Selection indices and preview palette controls stay in sync between the Graphics editor dock and Overworld embeds. Each GfxGroupEditor keeps its own gui::Canvas instances for ImGui ID isolation.
Definition at line 17 of file gfx_group_workspace_state.h.
| uint8_t yaze::editor::GfxGroupWorkspaceState::selected_blockset = 0 |
Definition at line 18 of file gfx_group_workspace_state.h.
Referenced by yaze::editor::GfxGroupEditor::SetSelectedBlockset().
| uint8_t yaze::editor::GfxGroupWorkspaceState::selected_roomset = 0 |
Definition at line 19 of file gfx_group_workspace_state.h.
Referenced by yaze::editor::GfxGroupEditor::SetSelectedRoomset().
| uint8_t yaze::editor::GfxGroupWorkspaceState::selected_spriteset = 0 |
Definition at line 20 of file gfx_group_workspace_state.h.
Referenced by yaze::editor::GfxGroupEditor::SetSelectedSpriteset().
| float yaze::editor::GfxGroupWorkspaceState::view_scale = 2.0f |
Definition at line 21 of file gfx_group_workspace_state.h.
| gfx::PaletteCategory yaze::editor::GfxGroupWorkspaceState::selected_palette_category |
Definition at line 22 of file gfx_group_workspace_state.h.
| uint8_t yaze::editor::GfxGroupWorkspaceState::selected_palette_index = 0 |
Definition at line 24 of file gfx_group_workspace_state.h.
| bool yaze::editor::GfxGroupWorkspaceState::use_custom_palette = false |
Definition at line 25 of file gfx_group_workspace_state.h.