yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
image_import_view.cc File Reference
#include "app/editor/graphics/ui/image_import/image_import_view.h"
#include <algorithm>
#include <cmath>
#include <utility>
#include "absl/strings/str_format.h"
#include "app/editor/graphics/graphics_palette_preview.h"
#include "app/editor/graphics/sheet_png_transfer.h"
#include "app/gfx/resource/arena.h"
#include "app/gfx/types/snes_color.h"
#include "app/gfx/util/palette_manager.h"
#include "app/gui/core/icons.h"
#include "app/gui/core/ui_helpers.h"
#include "imgui/imgui.h"
#include "imgui/misc/cpp/imgui_stdlib.h"
#include "util/file_util.h"
#include "util/image_clipboard.h"
#include "util/indexed_png.h"
#include "util/macro.h"
#include "zelda3/game_data.h"

Go to the source code of this file.

Namespaces

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

Functions

ImU32 yaze::editor::anonymous_namespace{image_import_view.cc}::ToImU32 (const std::array< uint8_t, 4 > &color)
 
ImVec4 yaze::editor::anonymous_namespace{image_import_view.cc}::ToImVec4 (const gfx::SnesColor &color)
 
void yaze::editor::anonymous_namespace{image_import_view.cc}::DrawSwatch (const char *id, const ImVec4 &color, const std::string &tip)
 

Variables

constexpr int yaze::editor::anonymous_namespace{image_import_view.cc}::kSheetWidth = 128
 
constexpr int yaze::editor::anonymous_namespace{image_import_view.cc}::kSheetHeight = 32
 
constexpr size_t yaze::editor::anonymous_namespace{image_import_view.cc}::kMaxPreviewPixels = 256 * 256