yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
palette_controls_panel.cc File Reference
#include "app/editor/graphics/palette_controls_panel.h"
#include <algorithm>
#include <string>
#include <string_view>
#include "absl/strings/str_format.h"
#include "app/gfx/resource/arena.h"
#include "app/gfx/types/snes_palette.h"
#include "app/gui/core/icons.h"
#include "app/gui/core/style.h"
#include "imgui/imgui.h"

Go to the source code of this file.

Classes

struct  yaze::editor::anonymous_namespace{palette_controls_panel.cc}::PaletteRowLayout
 

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::anonymous_namespace{palette_controls_panel.cc}
 

Functions

PaletteRowLayout yaze::editor::anonymous_namespace{palette_controls_panel.cc}::GetPaletteRowLayout (std::string_view group_name, size_t palette_size)
 
int yaze::editor::anonymous_namespace{palette_controls_panel.cc}::GetPaletteRowCount (size_t palette_size, int colors_per_row)
 
bool yaze::editor::anonymous_namespace{palette_controls_panel.cc}::ComputePaletteSlice (std::string_view group_name, const gfx::SnesPalette &palette, int row_index, size_t &out_offset, int &out_length)