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< SaveTransactionSnapshot > | save_transaction_snapshot |
| std::deque< PaletteColorChange > | undo_stack |
| std::deque< PaletteColorChange > | redo_stack |
| int | batch_depth = 0 |
| std::vector< PaletteColorChange > | batch_changes |
Definition at line 375 of file palette_manager.h.
| bool yaze::gfx::PaletteManager::SessionState::initialized = false |
Definition at line 376 of file palette_manager.h.
| std::unordered_map<std::string, std::vector<SnesPalette> > yaze::gfx::PaletteManager::SessionState::original_palettes |
Definition at line 377 of file palette_manager.h.
Referenced by yaze::gfx::PaletteManager::DiscardGroup(), and yaze::gfx::PaletteManager::SaveGroup().
| std::unordered_map<std::string, std::unordered_set<int> > yaze::gfx::PaletteManager::SessionState::modified_palettes |
Definition at line 378 of file palette_manager.h.
Referenced by yaze::gfx::PaletteManager::ClearModifiedFlags(), yaze::gfx::PaletteManager::DiscardGroup(), yaze::gfx::PaletteManager::GetModifiedGroups(), yaze::gfx::PaletteManager::HasUnsavedChanges(), yaze::gfx::PaletteManager::IsGroupModified(), yaze::gfx::PaletteManager::IsPaletteModified(), and yaze::gfx::PaletteManager::SaveGroup().
| std::unordered_map<std::string, std::unordered_map<int, std::unordered_set<int> > > yaze::gfx::PaletteManager::SessionState::modified_colors |
Definition at line 381 of file palette_manager.h.
Referenced by yaze::gfx::PaletteManager::ClearModifiedFlags(), yaze::gfx::PaletteManager::IsColorModified(), and yaze::gfx::PaletteManager::SaveGroup().
| 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().
| std::deque<PaletteColorChange> yaze::gfx::PaletteManager::SessionState::undo_stack |
Definition at line 383 of file palette_manager.h.
Referenced by yaze::gfx::PaletteManager::CanUndo(), yaze::gfx::PaletteManager::ClearHistory(), yaze::gfx::PaletteManager::GetUndoStackSize(), yaze::gfx::PaletteManager::RecordChange(), yaze::gfx::PaletteManager::Redo(), and yaze::gfx::PaletteManager::Undo().
| std::deque<PaletteColorChange> yaze::gfx::PaletteManager::SessionState::redo_stack |
Definition at line 384 of file palette_manager.h.
Referenced by yaze::gfx::PaletteManager::CanRedo(), yaze::gfx::PaletteManager::ClearHistory(), yaze::gfx::PaletteManager::GetRedoStackSize(), yaze::gfx::PaletteManager::RecordChange(), yaze::gfx::PaletteManager::Redo(), and yaze::gfx::PaletteManager::Undo().
| int yaze::gfx::PaletteManager::SessionState::batch_depth = 0 |
Definition at line 385 of file palette_manager.h.
Referenced by yaze::gfx::PaletteManager::BeginBatch(), yaze::gfx::PaletteManager::EndBatch(), and yaze::gfx::PaletteManager::InBatch().
| std::vector<PaletteColorChange> yaze::gfx::PaletteManager::SessionState::batch_changes |
Definition at line 386 of file palette_manager.h.
Referenced by yaze::gfx::PaletteManager::BeginBatch(), yaze::gfx::PaletteManager::EndBatch(), and yaze::gfx::PaletteManager::SetColor().