1#ifndef YAZE_APP_EDITOR_GRAPHICS_UI_IMAGE_IMPORT_IMAGE_IMPORT_VIEW_H
2#define YAZE_APP_EDITOR_GRAPHICS_UI_IMAGE_IMPORT_IMAGE_IMPORT_VIEW_H
8#include "absl/status/status.h"
34 void Load(absl::StatusOr<std::vector<uint8_t>> png_bytes,
35 const std::string& source);
40 void SetStatus(std::string message,
bool is_error);
46 std::optional<ImportedSheetImage>
image_;
Shared state between GraphicsEditor panel components.
Import view hosted by the existing graphics Image Import WindowContent. Imports a PNG file or the cli...
std::optional< ImportedSheetImage > image_
void Load(absl::StatusOr< std::vector< uint8_t > > png_bytes, const std::string &source)
ImageImportView(GraphicsEditorState *state, UndoManager *undo_manager)
void SetStatus(std::string message, bool is_error)
void DrawWriteIntoSheet()
GraphicsEditorState * state_
UndoManager * undo_manager_
Manages undo/redo stacks for a single editor.
Editors are the view controllers for the application.
Image import for the Graphics editor that keeps the image's own palette order and pixel indices.