yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gfx::PaletteManager::SessionState Struct Reference

Public Attributes

bool initialized = false
 
std::unordered_map< std::string, std::vector< SnesPalette > > original_palettes
 
std::unordered_map< std::string, std::unordered_set< int > > modified_palettes
 
std::unordered_map< std::string, std::unordered_map< int, std::unordered_set< int > > > modified_colors
 
std::optional< SaveTransactionSnapshotsave_transaction_snapshot
 
std::deque< PaletteColorChangeundo_stack
 
std::deque< PaletteColorChangeredo_stack
 
int batch_depth = 0
 
std::vector< PaletteColorChangebatch_changes
 

Detailed Description

Definition at line 375 of file palette_manager.h.

Member Data Documentation

◆ initialized

bool yaze::gfx::PaletteManager::SessionState::initialized = false

Definition at line 376 of file palette_manager.h.

◆ original_palettes

std::unordered_map<std::string, std::vector<SnesPalette> > yaze::gfx::PaletteManager::SessionState::original_palettes

◆ modified_palettes

◆ modified_colors

std::unordered_map<std::string, std::unordered_map<int, std::unordered_set<int> > > yaze::gfx::PaletteManager::SessionState::modified_colors

◆ save_transaction_snapshot

std::optional<SaveTransactionSnapshot> yaze::gfx::PaletteManager::SessionState::save_transaction_snapshot

Definition at line 382 of file palette_manager.h.

Referenced by yaze::gfx::PaletteManager::CommitSaveTransaction().

◆ undo_stack

◆ redo_stack

◆ batch_depth

int yaze::gfx::PaletteManager::SessionState::batch_depth = 0

◆ batch_changes

std::vector<PaletteColorChange> yaze::gfx::PaletteManager::SessionState::batch_changes

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