Event notification for palette changes. More...
#include <palette_manager.h>
Public Types | |
enum class | Type { kColorChanged , kPaletteReset , kGroupSaved , kGroupDiscarded , kAllSaved , kAllDiscarded } |
Public Attributes | |
Type | type |
std::string | group_name |
int | palette_index = -1 |
int | color_index = -1 |
Event notification for palette changes.
Definition at line 37 of file palette_manager.h.
|
strong |
Definition at line 38 of file palette_manager.h.
Type yaze::gfx::PaletteChangeEvent::type |
Definition at line 47 of file palette_manager.h.
std::string yaze::gfx::PaletteChangeEvent::group_name |
Definition at line 48 of file palette_manager.h.
Referenced by yaze::gfx::PaletteManager::EndBatch(), yaze::gfx::PaletteManager::Redo(), and yaze::gfx::PaletteManager::Undo().
int yaze::gfx::PaletteChangeEvent::palette_index = -1 |
Definition at line 49 of file palette_manager.h.
int yaze::gfx::PaletteChangeEvent::color_index = -1 |
Definition at line 50 of file palette_manager.h.