yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
gfx_group_workspace_state.h
Go to the documentation of this file.
1
#ifndef YAZE_APP_EDITOR_GRAPHICS_GFX_GROUP_WORKSPACE_STATE_H_
2
#define YAZE_APP_EDITOR_GRAPHICS_GFX_GROUP_WORKSPACE_STATE_H_
3
4
#include <cstdint>
5
6
#include "
app/gfx/types/snes_palette.h
"
7
8
namespace
yaze::editor
{
9
17
struct
GfxGroupWorkspaceState
{
18
uint8_t
selected_blockset
= 0;
19
uint8_t
selected_roomset
= 0;
20
uint8_t
selected_spriteset
= 0;
21
float
view_scale
= 2.0f;
22
gfx::PaletteCategory
selected_palette_category
=
23
gfx::PaletteCategory::kDungeons
;
24
uint8_t
selected_palette_index
= 0;
25
bool
use_custom_palette
=
false
;
26
};
27
28
}
// namespace yaze::editor
29
30
#endif
// YAZE_APP_EDITOR_GRAPHICS_GFX_GROUP_WORKSPACE_STATE_H_
yaze::editor
Editors are the view controllers for the application.
Definition
patch_export_usage.cc:9
yaze::gfx::PaletteCategory
PaletteCategory
Definition
snes_palette.h:24
yaze::gfx::kDungeons
@ kDungeons
Definition
snes_palette.h:34
snes_palette.h
yaze::editor::GfxGroupWorkspaceState
Per-ROM-session UI state shared by all GfxGroupEditor surfaces.
Definition
gfx_group_workspace_state.h:17
yaze::editor::GfxGroupWorkspaceState::selected_blockset
uint8_t selected_blockset
Definition
gfx_group_workspace_state.h:18
yaze::editor::GfxGroupWorkspaceState::selected_roomset
uint8_t selected_roomset
Definition
gfx_group_workspace_state.h:19
yaze::editor::GfxGroupWorkspaceState::selected_palette_category
gfx::PaletteCategory selected_palette_category
Definition
gfx_group_workspace_state.h:22
yaze::editor::GfxGroupWorkspaceState::use_custom_palette
bool use_custom_palette
Definition
gfx_group_workspace_state.h:25
yaze::editor::GfxGroupWorkspaceState::view_scale
float view_scale
Definition
gfx_group_workspace_state.h:21
yaze::editor::GfxGroupWorkspaceState::selected_palette_index
uint8_t selected_palette_index
Definition
gfx_group_workspace_state.h:24
yaze::editor::GfxGroupWorkspaceState::selected_spriteset
uint8_t selected_spriteset
Definition
gfx_group_workspace_state.h:20
src
app
editor
graphics
gfx_group_workspace_state.h
Generated by
1.10.0