1#ifndef YAZE_APP_EDITOR_GRAPHICS_GRAPHICS_PALETTE_PREVIEW_H_
2#define YAZE_APP_EDITOR_GRAPHICS_GRAPHICS_PALETTE_PREVIEW_H_
6#include "absl/status/status.h"
7#include "absl/status/statusor.h"
25 std::optional<GraphicsPaletteSelection> selection);
Shared state between GraphicsEditor panel components.
Represents a palette of colors for the Super Nintendo Entertainment System (SNES).
Editors are the view controllers for the application.
absl::Status SetGraphicsPreviewPalette(GraphicsEditorState &state, uint16_t sheet, std::optional< GraphicsPaletteSelection > selection)
absl::StatusOr< GraphicsPalettePreview > ResolveGraphicsPreviewPalette(zelda3::GameData &data, const GraphicsPaletteSelection &selection)
void RefreshGraphicsPreviewPalettes(GraphicsEditorState &state)