yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
color.cc File Reference
#include "color.h"
#include "imgui/imgui.h"
#include <cmath>
#include <string>
#include "app/gfx/bitmap.h"
#include "app/gfx/snes_palette.h"
#include "app/gfx/snes_color.h"
Include dependency graph for color.cc:

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::app
 Main namespace for the ImGui application.
 
namespace  yaze::app::gui
 Graphical User Interface (GUI) components for the application.
 

Functions

ImVec4 yaze::app::gui::ConvertSnesColorToImVec4 (const SnesColor &color)
 
IMGUI_API bool yaze::app::gui::SnesColorButton (absl::string_view id, SnesColor &color, ImGuiColorEditFlags flags, const ImVec2 &size_arg)
 
IMGUI_API bool yaze::app::gui::SnesColorEdit4 (absl::string_view label, SnesColor *color, ImGuiColorEditFlags flags)
 
absl::Status yaze::app::gui::DisplayPalette (app::gfx::SnesPalette &palette, bool loaded)
 
void yaze::app::gui::SelectablePalettePipeline (uint64_t &palette_id, bool &refresh_graphics, gfx::SnesPalette &palette)