#include "palette_editor.h"#include "util/i18n/tr.h"#include <algorithm>#include "absl/status/status.h"#include "absl/strings/str_cat.h"#include "absl/strings/str_format.h"#include "app/editor/palette/palette_category.h"#include "app/editor/shell/feedback/toast_manager.h"#include "app/editor/system/workspace/workspace_window_manager.h"#include "app/gfx/debug/performance/performance_profiler.h"#include "app/gfx/types/snes_palette.h"#include "app/gfx/util/palette_manager.h"#include "app/gui/app/editor_layout.h"#include "app/gui/core/color.h"#include "app/gui/core/icons.h"#include "app/gui/core/popup_id.h"#include "app/gui/core/search.h"#include "app/gui/core/style_guard.h"#include "app/gui/core/theme_manager.h"#include "app/gui/core/ui_helpers.h"#include "imgui/imgui.h"#include <cstring>Go to the source code of this file.
Classes | |
| class | yaze::editor::PaletteControlPanel |
| class | yaze::editor::QuickAccessPalettePanel |
| class | yaze::editor::CustomPalettePanel |
Namespaces | |
| namespace | yaze |
| namespace | yaze::editor |
| Editors are the view controllers for the application. | |
| namespace | yaze::editor::anonymous_namespace{palette_editor.cc} |
Macros | |
| #define | F32_TO_INT8_SAT(_VAL) |
Functions | |
| void | yaze::editor::anonymous_namespace{palette_editor.cc}::DrawColorDropTargetOutline (ImVec2 min, ImVec2 max) |
| bool | yaze::editor::anonymous_namespace{palette_editor.cc}::AcceptImGuiColorDrop (SnesColor *color, ImVec2 min, ImVec2 max) |
| int | yaze::editor::anonymous_namespace{palette_editor.cc}::CustomFormatString (char *buf, size_t buf_size, const char *fmt,...) |
| absl::Status | yaze::editor::DisplayPalette (gfx::SnesPalette &palette, bool loaded) |
| Display SNES palette with enhanced ROM hacking features. | |
Variables | |
| constexpr ImGuiTableFlags | yaze::editor::kPaletteTableFlags |
| constexpr ImGuiColorEditFlags | yaze::editor::kPalNoAlpha = ImGuiColorEditFlags_NoAlpha |
| constexpr ImGuiColorEditFlags | yaze::editor::kPalButtonFlags |
| constexpr ImGuiColorEditFlags | yaze::editor::kColorPopupFlags |
| #define F32_TO_INT8_SAT | ( | _VAL | ) |
Definition at line 133 of file palette_editor.cc.
Referenced by yaze::editor::PaletteEditor::DrawQuickAccessPanel(), yaze::editor::PaletteEditor::DrawQuickAccessTab(), and yaze::editor::PaletteEditor::HandleColorPopup().