1#ifndef YAZE_GUI_COLOR_H
2#define YAZE_GUI_COLOR_H
4#include "imgui/imgui.h"
9#include "absl/status/status.h"
25 ImGuiColorEditFlags flags = 0,
26 const ImVec2& size_arg = ImVec2(0, 0));
28IMGUI_API
bool SnesColorEdit4(absl::string_view label, SnesColor* color,
29 ImGuiColorEditFlags flags = 0);
31absl::Status
DisplayPalette(app::gfx::SnesPalette& palette,
bool loaded);
34 gfx::SnesPalette& palette);
IMGUI_API bool SnesColorEdit4(absl::string_view label, SnesColor *color, ImGuiColorEditFlags flags)
absl::Status DisplayPalette(app::gfx::SnesPalette &palette, bool loaded)
void SelectablePalettePipeline(uint64_t &palette_id, bool &refresh_graphics, gfx::SnesPalette &palette)
ImVec4 ConvertSnesColorToImVec4(const SnesColor &color)
IMGUI_API bool SnesColorButton(absl::string_view id, SnesColor &color, ImGuiColorEditFlags flags, const ImVec2 &size_arg)