1#ifndef YAZE_GUI_COLOR_H
2#define YAZE_GUI_COLOR_H
7#include "absl/status/status.h"
9#include "imgui/imgui.h"
39 ImGuiColorEditFlags flags = 0,
40 const ImVec2 &size_arg = ImVec2(0, 0));
43 ImGuiColorEditFlags flags = 0);
Represents a palette of colors for the Super Nintendo Entertainment System (SNES).
Graphical User Interface (GUI) components for the application.
ImVec4 ConvertColorToImVec4(const Color &color)
IMGUI_API bool SnesColorButton(absl::string_view id, gfx::SnesColor &color, ImGuiColorEditFlags flags, const ImVec2 &size_arg)
ImVec4 ConvertSnesColorToImVec4(const gfx::SnesColor &color)
void SelectablePalettePipeline(uint64_t &palette_id, bool &refresh_graphics, gfx::SnesPalette &palette)
IMGUI_API bool SnesColorEdit4(absl::string_view label, gfx::SnesColor *color, ImGuiColorEditFlags flags)
std::string ColorToHexString(const Color &color)
absl::Status DisplayPalette(gfx::SnesPalette &palette, bool loaded)
Main namespace for the application.