Selection data for copy/paste operations. More...
#include <graphics_editor_state.h>
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 |
Selection data for copy/paste operations.
Definition at line 35 of file graphics_editor_state.h.
|
inline |
Definition at line 45 of file graphics_editor_state.h.
References height, is_active, is_floating, pixel_data, width, x, and y.
| std::vector<uint8_t> yaze::editor::PixelSelection::pixel_data |
| gfx::SnesPalette yaze::editor::PixelSelection::palette |
Definition at line 37 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::EndSelection().
| int yaze::editor::PixelSelection::x = 0 |
Definition at line 38 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::BeginSelection(), Clear(), yaze::editor::PixelEditorPanel::DrawCanvas(), yaze::editor::PixelEditorPanel::EndSelection(), and yaze::editor::PixelEditorPanel::UpdateSelection().
| int yaze::editor::PixelSelection::y = 0 |
Definition at line 39 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::BeginSelection(), Clear(), yaze::editor::PixelEditorPanel::DrawCanvas(), yaze::editor::PixelEditorPanel::EndSelection(), and yaze::editor::PixelEditorPanel::UpdateSelection().
| int yaze::editor::PixelSelection::width = 0 |
Definition at line 40 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::BeginSelection(), Clear(), yaze::editor::PixelEditorPanel::DrawCanvas(), yaze::editor::PixelEditorPanel::EndSelection(), yaze::editor::PixelEditorPanel::FlipSelectionHorizontal(), yaze::editor::PixelEditorPanel::FlipSelectionVertical(), yaze::editor::PixelEditorPanel::PasteSelection(), and yaze::editor::PixelEditorPanel::UpdateSelection().
| int yaze::editor::PixelSelection::height = 0 |
Definition at line 41 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::BeginSelection(), Clear(), yaze::editor::PixelEditorPanel::DrawCanvas(), yaze::editor::PixelEditorPanel::EndSelection(), yaze::editor::PixelEditorPanel::FlipSelectionHorizontal(), yaze::editor::PixelEditorPanel::FlipSelectionVertical(), yaze::editor::PixelEditorPanel::PasteSelection(), and yaze::editor::PixelEditorPanel::UpdateSelection().
| bool yaze::editor::PixelSelection::is_active = false |
Definition at line 42 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::BeginSelection(), Clear(), and yaze::editor::PixelEditorPanel::DrawCanvas().
| bool yaze::editor::PixelSelection::is_floating = false |
Definition at line 43 of file graphics_editor_state.h.
Referenced by Clear().