The Graphics editor's path for sheet pixel writes. More...
#include <cstddef>#include <cstdint>#include <vector>#include "absl/status/status.h"#include "absl/types/span.h"Go to the source code of this file.
Classes | |
| struct | yaze::editor::SheetPixelDiff |
| The pixels one undo step changes in one sheet. More... | |
Namespaces | |
| namespace | yaze |
| namespace | yaze::zelda3 |
| Zelda 3 specific classes and functions. | |
| namespace | yaze::editor |
| Editors are the view controllers for the application. | |
Functions | |
| SheetPixelDiff | yaze::editor::MakeSheetPixelDiff (uint16_t sheet, absl::Span< const uint8_t > before, absl::Span< const uint8_t > after) |
| The pixels that differ between two 4096-byte sheets. | |
| void | yaze::editor::AttachSheetStore (GraphicsEditorState &state, zelda3::GameData *game_data) |
| zelda3::GraphicsSheetStore * | yaze::editor::ActiveSheetStore (const GraphicsEditorState &state) |
| void | yaze::editor::RefreshArenaSheet (GraphicsEditorState &state, uint16_t sheet) |
| absl::Status | yaze::editor::CommitSheetPixels (GraphicsEditorState &state, uint16_t sheet, absl::Span< const uint8_t > pixels) |
| absl::Status | yaze::editor::ApplySheetPixelDiff (GraphicsEditorState &state, const SheetPixelDiff &diff, bool redo) |
| int | yaze::editor::SyncArenaFromStore (GraphicsEditorState &state) |
The Graphics editor's path for sheet pixel writes.
Pixels live in the session's zelda3::GraphicsSheetStore. Every edit (pixel tools, paste, PNG import, undo and redo) writes the store; the Arena's bitmaps are display copies, refreshed when a sheet's store revision moves.
Definition in file graphics_sheet_sync.h.