|
| ImVec4 | yaze::gui::ConvertColorToImVec4 (const Color &color) |
| |
| std::string | yaze::gui::ColorToHexString (const Color &color) |
| |
| ImVec4 | yaze::gui::ConvertSnesColorToImVec4 (const gfx::SnesColor &color) |
| | Convert SnesColor to standard ImVec4 for display.
|
| |
| gfx::SnesColor | yaze::gui::ConvertImVec4ToSnesColor (const ImVec4 &color) |
| | Convert standard ImVec4 to SnesColor.
|
| |
| IMGUI_API bool | yaze::gui::SnesColorButton (absl::string_view id, gfx::SnesColor &color, ImGuiColorEditFlags flags, const ImVec2 &size_arg) |
| |
| IMGUI_API bool | yaze::gui::SnesColorEdit4 (absl::string_view label, gfx::SnesColor *color, ImGuiColorEditFlags flags) |
| |
| IMGUI_API bool | yaze::gui::InlinePaletteSelector (gfx::SnesPalette &palette, int num_colors=8, int *selected_index=nullptr) |
| | Small inline palette selector - just color buttons for selection.
|
| |
| IMGUI_API absl::Status | yaze::gui::InlinePaletteEditor (gfx::SnesPalette &palette, const std::string &title="", ImGuiColorEditFlags flags=0) |
| | Full inline palette editor with color picker and copy options.
|
| |
| IMGUI_API bool | yaze::gui::PopupPaletteEditor (const char *popup_id, gfx::SnesPalette &palette, ImGuiColorEditFlags flags=0) |
| | Popup palette editor - same as inline but in a popup.
|
| |
| IMGUI_API bool | yaze::gui::DisplayPalette (gfx::SnesPalette &palette, bool loaded) |
| |
| absl::Status | yaze::gui::DisplayEditablePalette (gfx::SnesPalette &palette, const std::string &title, bool show_color_picker, int colors_per_row, ImGuiColorEditFlags flags) |
| |
| void | yaze::gui::SelectablePalettePipeline (uint64_t &palette_id, bool &refresh_graphics, gfx::SnesPalette &palette) |
| |
| IMGUI_API bool | yaze::gui::PaletteColorButton (const char *id, const gfx::SnesColor &color, bool is_selected, bool is_modified, const ImVec2 &size, ImGuiColorEditFlags flags) |
| |