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 |
Definition at line 36 of file graphics_editor_state.h.
Referenced by Clear(), yaze::editor::PixelEditorPanel::EndSelection(), yaze::editor::PixelEditorView::EndSelection(), yaze::editor::PixelEditorPanel::FlipSelectionHorizontal(), yaze::editor::PixelEditorView::FlipSelectionHorizontal(), yaze::editor::PixelEditorPanel::FlipSelectionVertical(), yaze::editor::PixelEditorView::FlipSelectionVertical(), yaze::editor::PixelEditorPanel::PasteSelection(), and yaze::editor::PixelEditorView::PasteSelection().
| gfx::SnesPalette yaze::editor::PixelSelection::palette |
Definition at line 37 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::EndSelection(), and yaze::editor::PixelEditorView::EndSelection().
| int yaze::editor::PixelSelection::x = 0 |
Definition at line 38 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::BeginSelection(), yaze::editor::PixelEditorView::BeginSelection(), Clear(), yaze::editor::PixelEditorPanel::DrawCanvas(), yaze::editor::PixelEditorView::DrawCanvas(), yaze::editor::PixelEditorPanel::EndSelection(), yaze::editor::PixelEditorView::EndSelection(), yaze::editor::PixelEditorPanel::UpdateSelection(), and yaze::editor::PixelEditorView::UpdateSelection().
| int yaze::editor::PixelSelection::y = 0 |
Definition at line 39 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::BeginSelection(), yaze::editor::PixelEditorView::BeginSelection(), Clear(), yaze::editor::PixelEditorPanel::DrawCanvas(), yaze::editor::PixelEditorView::DrawCanvas(), yaze::editor::PixelEditorPanel::EndSelection(), yaze::editor::PixelEditorView::EndSelection(), yaze::editor::PixelEditorPanel::UpdateSelection(), and yaze::editor::PixelEditorView::UpdateSelection().
| int yaze::editor::PixelSelection::width = 0 |
Definition at line 40 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::BeginSelection(), yaze::editor::PixelEditorView::BeginSelection(), Clear(), yaze::editor::PixelEditorPanel::DrawCanvas(), yaze::editor::PixelEditorView::DrawCanvas(), yaze::editor::PixelEditorPanel::EndSelection(), yaze::editor::PixelEditorView::EndSelection(), yaze::editor::PixelEditorPanel::FlipSelectionHorizontal(), yaze::editor::PixelEditorView::FlipSelectionHorizontal(), yaze::editor::PixelEditorPanel::FlipSelectionVertical(), yaze::editor::PixelEditorView::FlipSelectionVertical(), yaze::editor::PixelEditorPanel::PasteSelection(), yaze::editor::PixelEditorView::PasteSelection(), yaze::editor::PixelEditorPanel::UpdateSelection(), and yaze::editor::PixelEditorView::UpdateSelection().
| int yaze::editor::PixelSelection::height = 0 |
Definition at line 41 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::BeginSelection(), yaze::editor::PixelEditorView::BeginSelection(), Clear(), yaze::editor::PixelEditorPanel::DrawCanvas(), yaze::editor::PixelEditorView::DrawCanvas(), yaze::editor::PixelEditorPanel::EndSelection(), yaze::editor::PixelEditorView::EndSelection(), yaze::editor::PixelEditorPanel::FlipSelectionHorizontal(), yaze::editor::PixelEditorView::FlipSelectionHorizontal(), yaze::editor::PixelEditorPanel::FlipSelectionVertical(), yaze::editor::PixelEditorView::FlipSelectionVertical(), yaze::editor::PixelEditorPanel::PasteSelection(), yaze::editor::PixelEditorView::PasteSelection(), yaze::editor::PixelEditorPanel::UpdateSelection(), and yaze::editor::PixelEditorView::UpdateSelection().
| bool yaze::editor::PixelSelection::is_active = false |
Definition at line 42 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::BeginSelection(), yaze::editor::PixelEditorView::BeginSelection(), Clear(), yaze::editor::PixelEditorPanel::DrawCanvas(), and yaze::editor::PixelEditorView::DrawCanvas().
| bool yaze::editor::PixelSelection::is_floating = false |
Definition at line 43 of file graphics_editor_state.h.
Referenced by Clear().