Base class for palette group editing cards. More...
#include <palette_group_panel.h>
Inherits yaze::editor::EditorPanel.
Inherited by yaze::editor::DungeonMainPalettePanel, yaze::editor::EquipmentPalettePanel, yaze::editor::OverworldAnimatedPalettePanel, yaze::editor::OverworldMainPalettePanel, yaze::editor::SpritePalettePanel, yaze::editor::SpritesAux1PalettePanel, yaze::editor::SpritesAux2PalettePanel, and yaze::editor::SpritesAux3PalettePanel.
Public Member Functions | |
| PaletteGroupPanel (const std::string &group_name, const std::string &display_name, Rom *rom, zelda3::GameData *game_data=nullptr) | |
| Construct a new Palette Group Panel. | |
| void | SetGameData (zelda3::GameData *game_data) |
| virtual | ~PaletteGroupPanel ()=default |
| void | Draw (bool *p_open) override |
| Draw the card's ImGui UI. | |
| std::string | GetId () const override |
| Unique identifier for this panel. | |
| std::string | GetDisplayName () const override |
| Human-readable name shown in menus and title bars. | |
| std::string | GetIcon () const override |
| Material Design icon for this panel. | |
| std::string | GetEditorCategory () const override |
| Editor category this panel belongs to. | |
| int | GetPriority () const override |
| Get display priority for menu ordering. | |
| void | Show () |
| void | Hide () |
| bool | IsVisible () const |
| bool * | visibility_flag () |
| void | SetToastManager (ToastManager *toast_manager) |
| absl::Status | SaveToRom () |
| Save all modified palettes to ROM. | |
| void | DiscardChanges () |
| Discard all unsaved changes. | |
| void | ResetPalette (int palette_index) |
| Reset a specific palette to original ROM values. | |
| void | ResetColor (int palette_index, int color_index) |
| Reset a specific color to original ROM value. | |
| void | SetColor (int palette_index, int color_index, const gfx::SnesColor &new_color) |
| Set a color value (records change for undo) | |
| void | Undo () |
| void | Redo () |
| bool | CanUndo () const |
| bool | CanRedo () const |
| void | ClearHistory () |
| bool | HasUnsavedChanges () const |
| bool | IsPaletteModified (int palette_index) const |
| bool | IsColorModified (int palette_index, int color_index) const |
| int | GetSelectedPaletteIndex () const |
| void | SetSelectedPaletteIndex (int index) |
| int | GetSelectedColorIndex () const |
| void | SetSelectedColorIndex (int index) |
| std::string | ExportToJson () const |
| absl::Status | ImportFromJson (const std::string &json) |
| std::string | ExportToClipboard () const |
| absl::Status | ImportFromClipboard () |
Public Member Functions inherited from yaze::editor::EditorPanel | |
| virtual | ~EditorPanel ()=default |
| virtual void | OnFirstDraw () |
| Called once before the first Draw() in a session. | |
| virtual bool | RequiresLazyInit () const |
| Whether this panel uses lazy initialization. | |
| void | InvalidateLazyInit () |
| Reset lazy init state so OnFirstDraw() runs again. | |
| virtual void | OnOpen () |
| Called when panel becomes visible. | |
| virtual void | OnClose () |
| Called when panel is hidden. | |
| virtual void | OnFocus () |
| Called when panel receives focus. | |
| virtual PanelCategory | GetPanelCategory () const |
| Get the lifecycle category for this panel. | |
| virtual PanelContextScope | GetContextScope () const |
| Optional context binding for this panel (room/selection/etc) | |
| virtual PanelScope | GetScope () const |
| Get the registration scope for this panel. | |
| virtual bool | IsEnabled () const |
| Check if this panel is currently enabled. | |
| virtual std::string | GetDisabledTooltip () const |
| Get tooltip text when panel is disabled. | |
| virtual std::string | GetShortcutHint () const |
| Get keyboard shortcut hint for display. | |
| virtual float | GetPreferredWidth () const |
| Get preferred width for this panel (optional) | |
| virtual bool | IsVisibleByDefault () const |
| Whether this panel should be visible by default. | |
| virtual std::string | GetParentPanelId () const |
| Get parent panel ID for cascade behavior. | |
| virtual bool | CascadeCloseChildren () const |
| Whether closing this panel should close child panels. | |
| void | DrawWithLazyInit (bool *p_open) |
| Execute lazy initialization if needed, then call Draw() | |
Protected Member Functions | |
| virtual gfx::PaletteGroup * | GetPaletteGroup ()=0 |
| Get the palette group for this card. | |
| virtual const gfx::PaletteGroup * | GetPaletteGroup () const =0 |
| virtual const PaletteGroupMetadata & | GetMetadata () const =0 |
| Get metadata for this palette group. | |
| virtual void | DrawPaletteGrid ()=0 |
| Draw the palette grid specific to this palette type. | |
| virtual int | GetColorsPerRow () const =0 |
| Get the number of colors per row for grid layout. | |
| virtual void | DrawCustomToolbarButtons () |
| Draw additional toolbar buttons (called after standard buttons) | |
| virtual void | DrawCustomPanels () |
| Draw additional panels (called after main content) | |
| void | DrawToolbar () |
| Draw standard toolbar with save/discard/undo/redo. | |
| void | DrawPaletteSelector () |
| Draw palette selector dropdown. | |
| void | DrawColorPicker () |
| Draw color picker for selected color. | |
| void | DrawColorInfo () |
| Draw color info panel with RGB/SNES/Hex values. | |
| void | DrawMetadataInfo () |
| Draw palette metadata info panel. | |
| void | DrawBatchOperationsPopup () |
| Draw batch operations popup. | |
| gfx::SnesPalette * | GetMutablePalette (int index) |
| Get mutable palette by index. | |
| gfx::SnesColor | GetOriginalColor (int palette_index, int color_index) const |
| Get original color from ROM (for reset/comparison) | |
| absl::Status | WriteColorToRom (int palette_index, int color_index, const gfx::SnesColor &color) |
| Write a single color to ROM. | |
| void | MarkModified (int palette_index, int color_index) |
| Mark palette as modified. | |
| void | ClearModified (int palette_index) |
| Clear modified flags for palette. | |
Protected Member Functions inherited from yaze::editor::EditorPanel | |
| void | InvalidateCache () |
| Invalidate all cached computations. | |
| template<typename T > | |
| T & | GetCached (const std::string &key, std::function< T()> compute) |
| Get or compute a cached value. | |
| bool | IsCacheValid () const |
| Check if cache has been invalidated. | |
| void | ClearCache () |
| Clear all cached values (more aggressive than InvalidateCache) | |
Protected Attributes | |
| std::string | group_name_ |
| std::string | display_name_ |
| Rom * | rom_ |
| zelda3::GameData * | game_data_ = nullptr |
| bool | show_ = false |
| int | selected_palette_ = 0 |
| int | selected_color_ = -1 |
| gfx::SnesColor | editing_color_ |
| bool | auto_save_enabled_ = false |
| bool | show_snes_format_ = true |
| bool | show_hex_format_ = true |
| ToastManager * | toast_manager_ = nullptr |
Base class for palette group editing cards.
Provides common functionality for all palette group editors:
Derived classes implement specific grid layouts and palette access.
Definition at line 73 of file palette_group_panel.h.
| yaze::editor::PaletteGroupPanel::PaletteGroupPanel | ( | const std::string & | group_name, |
| const std::string & | display_name, | ||
| Rom * | rom, | ||
| zelda3::GameData * | game_data = nullptr ) |
Construct a new Palette Group Panel.
| group_name | Internal palette group name (e.g., "ow_main", "dungeon_main") |
| display_name | Human-readable name for UI |
| rom | ROM instance for reading/writing palettes |
| game_data | GameData instance for palette access |
Definition at line 130 of file palette_group_panel.cc.
|
virtualdefault |
|
inline |
Definition at line 87 of file palette_group_panel.h.
References game_data_.
|
overridevirtual |
Draw the card's ImGui UI.
Draw the card's ImGui UI
Implements yaze::editor::EditorPanel.
Definition at line 142 of file palette_group_panel.cc.
References DrawBatchOperationsPopup(), DrawColorInfo(), DrawColorPicker(), DrawCustomPanels(), DrawMetadataInfo(), DrawPaletteGrid(), DrawPaletteSelector(), DrawToolbar(), yaze::Rom::is_loaded(), rom_, and selected_color_.
|
inlineoverridevirtual |
Unique identifier for this panel.
IDs should be:
Implements yaze::editor::EditorPanel.
Definition at line 102 of file palette_group_panel.h.
References group_name_.
|
inlineoverridevirtual |
Human-readable name shown in menus and title bars.
Implements yaze::editor::EditorPanel.
Definition at line 103 of file palette_group_panel.h.
References display_name_.
|
inlineoverridevirtual |
Material Design icon for this panel.
Implements yaze::editor::EditorPanel.
Reimplemented in yaze::editor::SpritePalettePanel, yaze::editor::SpritesAux1PalettePanel, yaze::editor::SpritesAux2PalettePanel, and yaze::editor::SpritesAux3PalettePanel.
Definition at line 104 of file palette_group_panel.h.
References ICON_MD_PALETTE.
|
inlineoverridevirtual |
Editor category this panel belongs to.
Implements yaze::editor::EditorPanel.
Definition at line 105 of file palette_group_panel.h.
|
inlineoverridevirtual |
Get display priority for menu ordering.
Reimplemented from yaze::editor::EditorPanel.
Reimplemented in yaze::editor::SpritePalettePanel, yaze::editor::SpritesAux1PalettePanel, yaze::editor::SpritesAux2PalettePanel, and yaze::editor::SpritesAux3PalettePanel.
Definition at line 106 of file palette_group_panel.h.
|
inline |
Definition at line 110 of file palette_group_panel.h.
References show_.
Referenced by yaze::editor::PaletteEditor::JumpToPalette().
|
inline |
Definition at line 111 of file palette_group_panel.h.
References show_.
|
inline |
Definition at line 112 of file palette_group_panel.h.
References show_.
|
inline |
Definition at line 113 of file palette_group_panel.h.
References show_.
|
inline |
Definition at line 115 of file palette_group_panel.h.
References toast_manager_.
Referenced by yaze::editor::PaletteEditor::Load().
| absl::Status yaze::editor::PaletteGroupPanel::SaveToRom | ( | ) |
Save all modified palettes to ROM.
Definition at line 561 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::Get(), group_name_, and yaze::gfx::PaletteManager::SaveGroup().
Referenced by DrawToolbar().

| void yaze::editor::PaletteGroupPanel::DiscardChanges | ( | ) |
Discard all unsaved changes.
Definition at line 566 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::DiscardGroup(), yaze::gfx::PaletteManager::Get(), group_name_, and selected_color_.
Referenced by DrawBatchOperationsPopup(), and DrawToolbar().

| void yaze::editor::PaletteGroupPanel::ResetPalette | ( | int | palette_index | ) |
Reset a specific palette to original ROM values.
Definition at line 574 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::Get(), group_name_, and yaze::gfx::PaletteManager::ResetPalette().
Referenced by DrawPaletteSelector().

| void yaze::editor::PaletteGroupPanel::ResetColor | ( | int | palette_index, |
| int | color_index ) |
Reset a specific color to original ROM value.
Definition at line 579 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::Get(), group_name_, and yaze::gfx::PaletteManager::ResetColor().
Referenced by DrawColorPicker().

| void yaze::editor::PaletteGroupPanel::SetColor | ( | int | palette_index, |
| int | color_index, | ||
| const gfx::SnesColor & | new_color ) |
Set a color value (records change for undo)
Definition at line 541 of file palette_group_panel.cc.
References auto_save_enabled_, yaze::gfx::PaletteManager::Get(), group_name_, yaze::editor::kError, yaze::gfx::PaletteManager::SetColor(), yaze::editor::ToastManager::Show(), toast_manager_, and WriteColorToRom().
Referenced by DrawColorPicker().

| void yaze::editor::PaletteGroupPanel::Undo | ( | ) |
Definition at line 587 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::Get(), and yaze::gfx::PaletteManager::Undo().
Referenced by DrawToolbar().

| void yaze::editor::PaletteGroupPanel::Redo | ( | ) |
Definition at line 592 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::Get(), and yaze::gfx::PaletteManager::Redo().
Referenced by DrawToolbar().

| bool yaze::editor::PaletteGroupPanel::CanUndo | ( | ) | const |
Definition at line 622 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::CanUndo(), and yaze::gfx::PaletteManager::Get().

| bool yaze::editor::PaletteGroupPanel::CanRedo | ( | ) | const |
Definition at line 627 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::CanRedo(), and yaze::gfx::PaletteManager::Get().

| void yaze::editor::PaletteGroupPanel::ClearHistory | ( | ) |
Definition at line 597 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::ClearHistory(), and yaze::gfx::PaletteManager::Get().

| bool yaze::editor::PaletteGroupPanel::HasUnsavedChanges | ( | ) | const |
Definition at line 617 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::Get(), group_name_, and yaze::gfx::PaletteManager::IsGroupModified().
Referenced by yaze::editor::PaletteEditor::DrawControlPanel().

| bool yaze::editor::PaletteGroupPanel::IsPaletteModified | ( | int | palette_index | ) | const |
Definition at line 604 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::Get(), group_name_, and yaze::gfx::PaletteManager::IsPaletteModified().
Referenced by DrawPaletteSelector(), and DrawToolbar().

| bool yaze::editor::PaletteGroupPanel::IsColorModified | ( | int | palette_index, |
| int | color_index ) const |
Definition at line 610 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::Get(), group_name_, and yaze::gfx::PaletteManager::IsColorModified().
Referenced by DrawColorPicker(), yaze::editor::OverworldMainPalettePanel::DrawPaletteGrid(), yaze::editor::OverworldAnimatedPalettePanel::DrawPaletteGrid(), yaze::editor::DungeonMainPalettePanel::DrawPaletteGrid(), yaze::editor::SpritePalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux1PalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux2PalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux3PalettePanel::DrawPaletteGrid(), and yaze::editor::EquipmentPalettePanel::DrawPaletteGrid().

|
inline |
Definition at line 161 of file palette_group_panel.h.
References selected_palette_.
|
inline |
Definition at line 162 of file palette_group_panel.h.
References selected_palette_.
Referenced by yaze::editor::PaletteEditor::JumpToPalette().
|
inline |
Definition at line 164 of file palette_group_panel.h.
References selected_color_.
|
inline |
Definition at line 165 of file palette_group_panel.h.
References selected_color_.
| std::string yaze::editor::PaletteGroupPanel::ExportToJson | ( | ) | const |
Definition at line 661 of file palette_group_panel.cc.
References yaze::Json::array(), display_name_, yaze::Json::dump(), GetPaletteGroup(), group_name_, and yaze::Json::object().

| absl::Status yaze::editor::PaletteGroupPanel::ImportFromJson | ( | const std::string & | json | ) |
Definition at line 696 of file palette_group_panel.cc.
References yaze::Json::contains(), editing_color_, yaze::gfx::PaletteManager::Get(), GetPaletteGroup(), group_name_, yaze::Json::is_array(), yaze::Json::is_object(), yaze::Json::parse(), selected_color_, and selected_palette_.
| std::string yaze::editor::PaletteGroupPanel::ExportToClipboard | ( | ) | const |
Definition at line 828 of file palette_group_panel.cc.
References GetPaletteGroup(), and selected_palette_.
Referenced by DrawBatchOperationsPopup(), and DrawToolbar().

| absl::Status yaze::editor::PaletteGroupPanel::ImportFromClipboard | ( | ) |
Definition at line 848 of file palette_group_panel.cc.
References editing_color_, yaze::gfx::PaletteManager::Get(), GetMutablePalette(), group_name_, selected_color_, and selected_palette_.
Referenced by DrawBatchOperationsPopup(), and DrawToolbar().

|
protectedpure virtual |
Get the palette group for this card.
Implemented in yaze::editor::OverworldMainPalettePanel, yaze::editor::OverworldAnimatedPalettePanel, yaze::editor::DungeonMainPalettePanel, yaze::editor::SpritePalettePanel, yaze::editor::SpritesAux1PalettePanel, yaze::editor::SpritesAux2PalettePanel, yaze::editor::SpritesAux3PalettePanel, and yaze::editor::EquipmentPalettePanel.
Referenced by DrawPaletteSelector(), DrawToolbar(), ExportToClipboard(), ExportToJson(), GetMutablePalette(), and ImportFromJson().
|
protectedpure virtual |
Implemented in yaze::editor::OverworldMainPalettePanel, yaze::editor::OverworldAnimatedPalettePanel, yaze::editor::DungeonMainPalettePanel, yaze::editor::SpritePalettePanel, yaze::editor::SpritesAux1PalettePanel, yaze::editor::SpritesAux2PalettePanel, yaze::editor::SpritesAux3PalettePanel, and yaze::editor::EquipmentPalettePanel.
|
protectedpure virtual |
Get metadata for this palette group.
Implemented in yaze::editor::OverworldMainPalettePanel, yaze::editor::OverworldAnimatedPalettePanel, yaze::editor::DungeonMainPalettePanel, yaze::editor::SpritePalettePanel, yaze::editor::SpritesAux1PalettePanel, yaze::editor::SpritesAux2PalettePanel, yaze::editor::SpritesAux3PalettePanel, and yaze::editor::EquipmentPalettePanel.
Referenced by DrawMetadataInfo().
|
protectedpure virtual |
Draw the palette grid specific to this palette type.
Implemented in yaze::editor::OverworldMainPalettePanel, yaze::editor::OverworldAnimatedPalettePanel, yaze::editor::DungeonMainPalettePanel, yaze::editor::SpritePalettePanel, yaze::editor::SpritesAux1PalettePanel, yaze::editor::SpritesAux2PalettePanel, yaze::editor::SpritesAux3PalettePanel, and yaze::editor::EquipmentPalettePanel.
Referenced by Draw().
|
protectedpure virtual |
Get the number of colors per row for grid layout.
Implemented in yaze::editor::OverworldMainPalettePanel, yaze::editor::OverworldAnimatedPalettePanel, yaze::editor::DungeonMainPalettePanel, yaze::editor::SpritePalettePanel, yaze::editor::SpritesAux1PalettePanel, yaze::editor::SpritesAux2PalettePanel, yaze::editor::SpritesAux3PalettePanel, and yaze::editor::EquipmentPalettePanel.
|
inlineprotectedvirtual |
Draw additional toolbar buttons (called after standard buttons)
Definition at line 204 of file palette_group_panel.h.
Referenced by DrawToolbar().
|
inlineprotectedvirtual |
Draw additional panels (called after main content)
Reimplemented in yaze::editor::SpritePalettePanel.
Definition at line 209 of file palette_group_panel.h.
Referenced by Draw().
|
protected |
Draw standard toolbar with save/discard/undo/redo.
Definition at line 196 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::CanRedo(), yaze::gfx::PaletteManager::CanUndo(), yaze::gui::DangerButton(), DiscardChanges(), display_name_, DrawCustomToolbarButtons(), ExportToClipboard(), yaze::gfx::PaletteManager::Get(), GetPaletteGroup(), group_name_, ICON_MD_EDIT, ICON_MD_FILE_DOWNLOAD, ICON_MD_FILE_UPLOAD, ICON_MD_MORE_VERT, ICON_MD_REDO, ICON_MD_SAVE, ICON_MD_UNDO, ImportFromClipboard(), yaze::gfx::PaletteManager::IsGroupModified(), IsPaletteModified(), yaze::editor::kError, yaze::gui::PrimaryButton(), Redo(), SaveToRom(), yaze::editor::ToastManager::Show(), yaze::gui::ThemedIconButton(), toast_manager_, and Undo().
Referenced by Draw().
|
protected |
Draw palette selector dropdown.
Definition at line 300 of file palette_group_panel.cc.
References GetPaletteGroup(), yaze::gui::LayoutHelpers::GetStandardInputWidth(), ICON_MD_RESTORE, IsPaletteModified(), ResetPalette(), selected_color_, selected_palette_, and yaze::gui::ThemedIconButton().
Referenced by Draw().
|
protected |
Draw color picker for selected color.
Definition at line 352 of file palette_group_panel.cc.
References yaze::gui::ConvertImVec4ToSnesColor(), yaze::gui::ConvertSnesColorToImVec4(), editing_color_, GetMutablePalette(), GetOriginalColor(), yaze::gui::LayoutHelpers::HelpMarker(), ICON_MD_RESTORE, IsColorModified(), ResetColor(), yaze::gui::SectionHeader(), selected_color_, selected_palette_, SetColor(), and yaze::gui::ThemedButton().
Referenced by Draw().
|
protected |
Draw color info panel with RGB/SNES/Hex values.
Definition at line 411 of file palette_group_panel.cc.
References editing_color_, yaze::gfx::SnesColor::rgb(), yaze::gui::SectionHeader(), selected_color_, show_hex_format_, show_snes_format_, and yaze::gfx::SnesColor::snes().
Referenced by Draw().

|
protected |
Draw palette metadata info panel.
Definition at line 449 of file palette_group_panel.cc.
References GetMetadata(), yaze::gui::SectionHeader(), and selected_palette_.
Referenced by Draw().

|
protected |
Draw batch operations popup.
Definition at line 514 of file palette_group_panel.cc.
References DiscardChanges(), ExportToClipboard(), ImportFromClipboard(), yaze::gui::SectionHeader(), and yaze::gui::ThemedButton().
Referenced by Draw().
|
protected |
Get mutable palette by index.
Definition at line 634 of file palette_group_panel.cc.
References GetPaletteGroup().
Referenced by DrawColorPicker(), yaze::editor::OverworldMainPalettePanel::DrawPaletteGrid(), yaze::editor::OverworldAnimatedPalettePanel::DrawPaletteGrid(), yaze::editor::DungeonMainPalettePanel::DrawPaletteGrid(), yaze::editor::SpritePalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux1PalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux2PalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux3PalettePanel::DrawPaletteGrid(), yaze::editor::EquipmentPalettePanel::DrawPaletteGrid(), and ImportFromClipboard().

|
protected |
Get original color from ROM (for reset/comparison)
Definition at line 642 of file palette_group_panel.cc.
References yaze::gfx::PaletteManager::Get(), yaze::gfx::PaletteManager::GetColor(), and group_name_.
Referenced by DrawColorPicker().

|
protected |
Write a single color to ROM.
Definition at line 649 of file palette_group_panel.cc.
References yaze::gfx::GetPaletteAddress(), group_name_, rom_, and yaze::Rom::WriteColor().
Referenced by SetColor().

|
protected |
Mark palette as modified.
|
protected |
Clear modified flags for palette.
|
protected |
Definition at line 273 of file palette_group_panel.h.
Referenced by DiscardChanges(), DrawToolbar(), ExportToJson(), GetId(), GetOriginalColor(), HasUnsavedChanges(), ImportFromClipboard(), ImportFromJson(), IsColorModified(), IsPaletteModified(), ResetColor(), ResetPalette(), SaveToRom(), SetColor(), and WriteColorToRom().
|
protected |
Definition at line 274 of file palette_group_panel.h.
Referenced by DrawToolbar(), ExportToJson(), and GetDisplayName().
|
protected |
Definition at line 275 of file palette_group_panel.h.
Referenced by Draw(), and WriteColorToRom().
|
protected |
Definition at line 276 of file palette_group_panel.h.
Referenced by yaze::editor::OverworldMainPalettePanel::GetPaletteGroup(), yaze::editor::OverworldAnimatedPalettePanel::GetPaletteGroup(), yaze::editor::DungeonMainPalettePanel::GetPaletteGroup(), yaze::editor::SpritePalettePanel::GetPaletteGroup(), yaze::editor::SpritesAux1PalettePanel::GetPaletteGroup(), yaze::editor::SpritesAux2PalettePanel::GetPaletteGroup(), yaze::editor::SpritesAux3PalettePanel::GetPaletteGroup(), yaze::editor::EquipmentPalettePanel::GetPaletteGroup(), yaze::editor::OverworldMainPalettePanel::GetPaletteGroup(), yaze::editor::OverworldAnimatedPalettePanel::GetPaletteGroup(), yaze::editor::DungeonMainPalettePanel::GetPaletteGroup(), yaze::editor::SpritePalettePanel::GetPaletteGroup(), yaze::editor::SpritesAux1PalettePanel::GetPaletteGroup(), yaze::editor::SpritesAux2PalettePanel::GetPaletteGroup(), yaze::editor::SpritesAux3PalettePanel::GetPaletteGroup(), yaze::editor::EquipmentPalettePanel::GetPaletteGroup(), and SetGameData().
|
protected |
Definition at line 277 of file palette_group_panel.h.
Referenced by Hide(), IsVisible(), Show(), and visibility_flag().
|
protected |
Definition at line 280 of file palette_group_panel.h.
Referenced by DrawColorPicker(), DrawMetadataInfo(), yaze::editor::OverworldMainPalettePanel::DrawPaletteGrid(), yaze::editor::OverworldAnimatedPalettePanel::DrawPaletteGrid(), yaze::editor::DungeonMainPalettePanel::DrawPaletteGrid(), yaze::editor::SpritePalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux1PalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux2PalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux3PalettePanel::DrawPaletteGrid(), yaze::editor::EquipmentPalettePanel::DrawPaletteGrid(), DrawPaletteSelector(), ExportToClipboard(), GetSelectedPaletteIndex(), ImportFromClipboard(), ImportFromJson(), and SetSelectedPaletteIndex().
|
protected |
Definition at line 281 of file palette_group_panel.h.
Referenced by DiscardChanges(), Draw(), DrawColorInfo(), DrawColorPicker(), yaze::editor::OverworldMainPalettePanel::DrawPaletteGrid(), yaze::editor::OverworldAnimatedPalettePanel::DrawPaletteGrid(), yaze::editor::DungeonMainPalettePanel::DrawPaletteGrid(), yaze::editor::SpritePalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux1PalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux2PalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux3PalettePanel::DrawPaletteGrid(), yaze::editor::EquipmentPalettePanel::DrawPaletteGrid(), DrawPaletteSelector(), GetSelectedColorIndex(), ImportFromClipboard(), ImportFromJson(), and SetSelectedColorIndex().
|
protected |
Definition at line 282 of file palette_group_panel.h.
Referenced by DrawColorInfo(), DrawColorPicker(), yaze::editor::OverworldMainPalettePanel::DrawPaletteGrid(), yaze::editor::OverworldAnimatedPalettePanel::DrawPaletteGrid(), yaze::editor::DungeonMainPalettePanel::DrawPaletteGrid(), yaze::editor::SpritePalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux1PalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux2PalettePanel::DrawPaletteGrid(), yaze::editor::SpritesAux3PalettePanel::DrawPaletteGrid(), yaze::editor::EquipmentPalettePanel::DrawPaletteGrid(), ImportFromClipboard(), and ImportFromJson().
|
protected |
Definition at line 285 of file palette_group_panel.h.
Referenced by SetColor().
|
protected |
Definition at line 286 of file palette_group_panel.h.
Referenced by DrawColorInfo().
|
protected |
Definition at line 287 of file palette_group_panel.h.
Referenced by DrawColorInfo().
|
protected |
Definition at line 289 of file palette_group_panel.h.
Referenced by DrawToolbar(), SetColor(), and SetToastManager().