yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
catalog_palette_preview.cc File Reference
#include "app/editor/graphics/catalog_palette_preview.h"
#include <algorithm>
#include <cctype>
#include <filesystem>
#include <fstream>
#include <map>
#include <stdexcept>
#include <utility>
#include "absl/status/status.h"
#include "core/source_artifact_publisher.h"
#include "nlohmann/json.hpp"
#include "util/macro.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{catalog_palette_preview.cc}
 

Functions

absl::StatusOr< std::string > yaze::editor::anonymous_namespace{catalog_palette_preview.cc}::ReadBoundedFile (const std::filesystem::path &path, size_t limit)
 
bool yaze::editor::anonymous_namespace{catalog_palette_preview.cc}::ValidText (const std::string &text, size_t limit)
 
absl::StatusOr< std::vector< CatalogPreviewPalette > > yaze::editor::LoadCatalogPreviewPalettes (const std::string &catalog_filename)
 

Variables

constexpr size_t yaze::editor::anonymous_namespace{catalog_palette_preview.cc}::kJsonBytes = 8 * 1024 * 1024
 
constexpr size_t yaze::editor::anonymous_namespace{catalog_palette_preview.cc}::kSourceBytes = 16 * 1024 * 1024
 
constexpr size_t yaze::editor::anonymous_namespace{catalog_palette_preview.cc}::kTotalSourceBytes = 128 * 1024 * 1024
 
constexpr size_t yaze::editor::anonymous_namespace{catalog_palette_preview.cc}::kMaxSources = 64
 
constexpr size_t yaze::editor::anonymous_namespace{catalog_palette_preview.cc}::kMaxRows = 4096