yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
graphics_scratch_storage.h File Reference
#include <cstddef>
#include <functional>
#include <optional>
#include <string>
#include <vector>
#include "absl/status/statusor.h"
#include "app/editor/graphics/graphics_scratch_asset.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::editor::graphics_scratch_storage::LibrarySnapshot
 
struct  yaze::editor::graphics_scratch_storage::BinExportResult
 

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::graphics_scratch_storage
 

Functions

absl::StatusOr< LibrarySnapshot > yaze::editor::graphics_scratch_storage::LoadLibrary (const std::string &path)
 
absl::StatusOr< std::string > yaze::editor::graphics_scratch_storage::SaveLibrary (const std::string &path, const GraphicsScratchLibrary &library, const std::optional< std::string > &expected_bytes)
 
absl::StatusOr< GraphicsScratchAsset > yaze::editor::graphics_scratch_storage::ImportBin (const std::string &path, int bpp, size_t offset, const std::string &name)
 
absl::StatusOr< BinExportResult > yaze::editor::graphics_scratch_storage::ExportBin (const GraphicsScratchAsset &asset, const std::string &path, const std::string &library_path, const std::function< absl::Status(const std::string &)> &validator)