yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
palette_utility.h File Reference
#include <string>
#include "app/gfx/types/snes_color.h"
#include "app/gui/core/color.h"
#include "imgui/imgui.h"
#include "app/rom.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yaze
 Main namespace for the application.
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::palette_utility
 Utility functions for palette operations across editors.
 

Functions

bool yaze::editor::palette_utility::DrawPaletteJumpButton (const char *label, const std::string &group_name, int palette_index, PaletteEditor *editor)
 Draw a palette selector button that opens palette editor.
 
bool yaze::editor::palette_utility::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.
 
bool yaze::editor::palette_utility::DrawPaletteIdSelector (const char *label, int *palette_id, const std::string &group_name, PaletteEditor *editor)
 Draw a compact palette ID selector with preview.
 
void yaze::editor::palette_utility::DrawColorInfoTooltip (const gfx::SnesColor &color)
 Draw color info tooltip on hover.
 
void yaze::editor::palette_utility::DrawPalettePreview (const std::string &group_name, int palette_index, class Rom *rom)
 Draw a small palette preview (8 colors in a row)