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

Selection data for copy/paste operations. More...

#include <graphics_editor_state.h>

Collaboration diagram for yaze::editor::PixelSelection:

Public Member Functions

void Clear ()
 

Public Attributes

std::vector< uint8_t > pixel_data
 
gfx::SnesPalette palette
 
int x = 0
 
int y = 0
 
int width = 0
 
int height = 0
 
bool is_active = false
 
bool is_floating = false
 

Detailed Description

Selection data for copy/paste operations.

Definition at line 35 of file graphics_editor_state.h.

Member Function Documentation

◆ Clear()

void yaze::editor::PixelSelection::Clear ( )
inline

Definition at line 45 of file graphics_editor_state.h.

References height, is_active, is_floating, pixel_data, width, x, and y.

Member Data Documentation

◆ pixel_data

◆ palette

gfx::SnesPalette yaze::editor::PixelSelection::palette

◆ x

◆ y

◆ width

◆ height

◆ is_active

bool yaze::editor::PixelSelection::is_active = false

◆ is_floating

bool yaze::editor::PixelSelection::is_floating = false

Definition at line 43 of file graphics_editor_state.h.

Referenced by Clear().


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