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 44 of file graphics_editor_state.h.
|
inline |
Definition at line 54 of file graphics_editor_state.h.
References height, is_active, is_floating, pixel_data, width, x, and y.
Referenced by yaze::editor::PixelEditorPanel::CancelFloatingPaste(), and yaze::editor::GraphicsEditor::OpenInContext().
| std::vector<uint8_t> yaze::editor::PixelSelection::pixel_data |
| gfx::SnesPalette yaze::editor::PixelSelection::palette |
Definition at line 46 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::EndSelection().
| int yaze::editor::PixelSelection::x = 0 |
Definition at line 47 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::BeginSelection(), yaze::editor::PixelEditorPanel::ClampFloatingPaste(), Clear(), yaze::editor::PixelEditorPanel::DrawCanvas(), yaze::editor::PixelEditorPanel::EndSelection(), yaze::editor::PixelEditorPanel::HandleFloatingPasteInput(), yaze::editor::PixelEditorPanel::HandleFloatingPasteKeys(), yaze::editor::UsagePreviewView::SelectedTileIndex(), and yaze::editor::PixelEditorPanel::UpdateSelection().
| int yaze::editor::PixelSelection::y = 0 |
Definition at line 48 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 49 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::BeginSelection(), Clear(), yaze::editor::PixelEditorPanel::CopyToSystemClipboard(), 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 50 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 51 of file graphics_editor_state.h.
Referenced by yaze::editor::PixelEditorPanel::BeginSelection(), Clear(), yaze::editor::PixelEditorPanel::DrawCanvas(), and yaze::editor::PixelEditorPanel::PasteFromSystemClipboard().
| bool yaze::editor::PixelSelection::is_floating = false |
Definition at line 52 of file graphics_editor_state.h.
Referenced by yaze::editor::GraphicsEditor::BeginSaveTransaction(), Clear(), yaze::editor::PaletteReorderControl::Draw(), yaze::editor::PixelEditorPanel::DrawClipboardControls(), yaze::editor::PixelEditorPanel::DrawSourceContext(), yaze::editor::ExecutePalettePixelPlan(), yaze::editor::PixelEditorPanel::HandleFloatingPasteKeys(), yaze::editor::GraphicsEditor::HasPendingGraphicsChanges(), yaze::editor::GraphicsEditor::OpenInContext(), yaze::editor::GraphicsEditor::Save(), and yaze::editor::PixelEditorPanel::Update().