yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::GfxGroupWorkspaceState Struct Reference

Per-ROM-session UI state shared by all GfxGroupEditor surfaces. More...

#include <gfx_group_workspace_state.h>

Collaboration diagram for yaze::editor::GfxGroupWorkspaceState:

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
 

Detailed Description

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.

Member Data Documentation

◆ selected_blockset

uint8_t yaze::editor::GfxGroupWorkspaceState::selected_blockset = 0

◆ selected_roomset

uint8_t yaze::editor::GfxGroupWorkspaceState::selected_roomset = 0

◆ selected_spriteset

uint8_t yaze::editor::GfxGroupWorkspaceState::selected_spriteset = 0

◆ view_scale

float yaze::editor::GfxGroupWorkspaceState::view_scale = 2.0f

Definition at line 21 of file gfx_group_workspace_state.h.

◆ selected_palette_category

gfx::PaletteCategory yaze::editor::GfxGroupWorkspaceState::selected_palette_category
Initial value:

Definition at line 22 of file gfx_group_workspace_state.h.

◆ selected_palette_index

uint8_t yaze::editor::GfxGroupWorkspaceState::selected_palette_index = 0

Definition at line 24 of file gfx_group_workspace_state.h.

◆ use_custom_palette

bool yaze::editor::GfxGroupWorkspaceState::use_custom_palette = false

Definition at line 25 of file gfx_group_workspace_state.h.


The documentation for this struct was generated from the following file: