1#ifndef YAZE_APP_EDITOR_GRAPHICS_PALETTE_CONTROLS_PANEL_H
2#define YAZE_APP_EDITOR_GRAPHICS_PALETTE_CONTROLS_PANEL_H
4#include "absl/status/status.h"
32 std::string
GetId()
const override {
return "graphics.palette_controls"; }
45 void Draw(
bool* p_open)
override;
Shared state between GraphicsEditor panel components.
Panel for managing palettes applied to graphics sheets.
absl::Status Update()
Legacy Update method for backward compatibility.
void DrawPresets()
Draw quick preset buttons.
GraphicsEditorState * state_
void Draw(bool *p_open) override
Draw the palette controls UI (WindowContent interface)
std::string GetIcon() const override
Material Design icon for this panel.
PaletteControlsPanel(GraphicsEditorState *state)
void DrawPaletteDisplay()
Draw the current palette display.
void DrawApplyButtons()
Draw apply buttons.
int GetPriority() const override
Get display priority for menu ordering.
void DrawPaletteGroupSelector()
Draw palette group selection.
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 GetEditorCategory() const override
Editor category this panel belongs to.
Base interface for all logical window content components.
GraphicsPaletteSelectorLayout
void DrawGraphicsPreviewPaletteSelector(GraphicsEditorState &state, GraphicsPaletteSelectorLayout layout)