yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::PixelEditorSnapshot Struct Reference

Snapshot for undo/redo operations. More...

#include <graphics_editor_state.h>

Collaboration diagram for yaze::editor::PixelEditorSnapshot:

Public Member Functions

bool operator== (const PixelEditorSnapshot &other) const
 

Public Attributes

uint16_t sheet_id
 
std::vector< uint8_t > pixel_data
 
gfx::SnesPalette palette
 

Detailed Description

Snapshot for undo/redo operations.

Definition at line 56 of file graphics_editor_state.h.

Member Function Documentation

◆ operator==()

bool yaze::editor::PixelEditorSnapshot::operator== ( const PixelEditorSnapshot & other) const
inline

Definition at line 61 of file graphics_editor_state.h.

References pixel_data, and sheet_id.

Member Data Documentation

◆ sheet_id

uint16_t yaze::editor::PixelEditorSnapshot::sheet_id

◆ pixel_data

std::vector<uint8_t> yaze::editor::PixelEditorSnapshot::pixel_data

◆ palette

gfx::SnesPalette yaze::editor::PixelEditorSnapshot::palette

Definition at line 59 of file graphics_editor_state.h.


The documentation for this struct was generated from the following file: