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

The pixels one undo step changes in one sheet. More...

#include <graphics_sheet_sync.h>

Public Member Functions

bool empty () const
 
size_t MemoryUsage () const
 

Public Attributes

uint16_t sheet = 0
 
std::vector< uint16_t > offsets
 
std::vector< uint8_t > before
 
std::vector< uint8_t > after
 

Detailed Description

The pixels one undo step changes in one sheet.

Definition at line 32 of file graphics_sheet_sync.h.

Member Function Documentation

◆ empty()

bool yaze::editor::SheetPixelDiff::empty ( ) const
inline

◆ MemoryUsage()

size_t yaze::editor::SheetPixelDiff::MemoryUsage ( ) const
inline

Definition at line 39 of file graphics_sheet_sync.h.

References after, before, and offsets.

Referenced by yaze::editor::GraphicsPixelEditAction::MemoryUsage().

Member Data Documentation

◆ sheet

uint16_t yaze::editor::SheetPixelDiff::sheet = 0

◆ offsets

std::vector<uint16_t> yaze::editor::SheetPixelDiff::offsets

◆ before

std::vector<uint8_t> yaze::editor::SheetPixelDiff::before

◆ after

std::vector<uint8_t> yaze::editor::SheetPixelDiff::after

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