1#ifndef YAZE_APP_EDITOR_PALETTE_UTILITY_H
2#define YAZE_APP_EDITOR_PALETTE_UTILITY_H
8#include "imgui/imgui.h"
19namespace palette_utility {
30 int palette_index, PaletteEditor* editor);
43 const std::string& group_name,
int palette_index,
44 int color_index, PaletteEditor* editor);
55 const std::string& group_name,
56 PaletteEditor* editor);
bool DrawPaletteJumpButton(const char *label, const std::string &group_name, int palette_index, PaletteEditor *editor)
Draw a palette selector button that opens palette editor.
bool DrawPaletteIdSelector(const char *label, int *palette_id, const std::string &group_name, PaletteEditor *editor)
Draw a compact palette ID selector with preview.
bool DrawInlineColorEdit(const char *label, gfx::SnesColor *color, const std::string &group_name, int palette_index, int color_index, PaletteEditor *editor)
Draw inline color edit with jump to palette.
void DrawPalettePreview(const std::string &group_name, int palette_index, Rom *rom)
Draw a small palette preview (8 colors in a row)
void DrawColorInfoTooltip(const gfx::SnesColor &color)
Draw color info tooltip on hover.
Main namespace for the application.