Interface for editor classes. More...
#include <editor.h>
Public Member Functions | |
Editor ()=default | |
virtual | ~Editor ()=default |
virtual absl::Status | Cut ()=0 |
virtual absl::Status | Copy ()=0 |
virtual absl::Status | Paste ()=0 |
virtual absl::Status | Undo ()=0 |
virtual absl::Status | Redo ()=0 |
virtual absl::Status | Update ()=0 |
virtual absl::Status | Find ()=0 |
EditorType | type () const |
Protected Attributes | |
EditorType | type_ |
EditorContext | context_ |
Interface for editor classes.
Provides basic editing operations that each editor should implement.
|
default |
|
virtualdefault |
|
pure virtual |
Implemented in yaze::app::editor::AssemblyEditor, yaze::app::editor::DungeonEditor, yaze::app::editor::GraphicsEditor, yaze::app::editor::MessageEditor, yaze::app::editor::MusicEditor, yaze::app::editor::OverworldEditor, yaze::app::editor::PaletteEditor, yaze::app::editor::ScreenEditor, yaze::app::editor::SettingsEditor, yaze::app::editor::SpriteEditor, and yaze::test::integration::TestEditor.
Referenced by yaze::app::editor::EditorManager::DrawYazeMenuBar(), and yaze::app::editor::EditorManager::ManageKeyboardShortcuts().
|
pure virtual |
Implemented in yaze::app::editor::AssemblyEditor, yaze::app::editor::DungeonEditor, yaze::app::editor::GraphicsEditor, yaze::app::editor::MessageEditor, yaze::app::editor::MusicEditor, yaze::app::editor::OverworldEditor, yaze::app::editor::PaletteEditor, yaze::app::editor::ScreenEditor, yaze::app::editor::SettingsEditor, yaze::app::editor::SpriteEditor, and yaze::test::integration::TestEditor.
Referenced by yaze::app::editor::EditorManager::DrawYazeMenuBar(), and yaze::app::editor::EditorManager::ManageKeyboardShortcuts().
|
pure virtual |
Implemented in yaze::app::editor::AssemblyEditor, yaze::app::editor::DungeonEditor, yaze::app::editor::GraphicsEditor, yaze::app::editor::MessageEditor, yaze::app::editor::MusicEditor, yaze::app::editor::OverworldEditor, yaze::app::editor::PaletteEditor, yaze::app::editor::ScreenEditor, yaze::app::editor::SettingsEditor, yaze::app::editor::SpriteEditor, and yaze::test::integration::TestEditor.
Referenced by yaze::app::editor::EditorManager::DrawYazeMenuBar(), and yaze::app::editor::EditorManager::ManageKeyboardShortcuts().
|
pure virtual |
Implemented in yaze::app::editor::AssemblyEditor, yaze::app::editor::DungeonEditor, yaze::app::editor::GraphicsEditor, yaze::app::editor::MessageEditor, yaze::app::editor::MusicEditor, yaze::app::editor::OverworldEditor, yaze::app::editor::PaletteEditor, yaze::app::editor::ScreenEditor, yaze::app::editor::SettingsEditor, yaze::app::editor::SpriteEditor, and yaze::test::integration::TestEditor.
Referenced by yaze::app::editor::EditorManager::DrawYazeMenuBar(), and yaze::app::editor::EditorManager::ManageKeyboardShortcuts().
|
pure virtual |
Implemented in yaze::app::editor::AssemblyEditor, yaze::app::editor::DungeonEditor, yaze::app::editor::GraphicsEditor, yaze::app::editor::MessageEditor, yaze::app::editor::MusicEditor, yaze::app::editor::OverworldEditor, yaze::app::editor::PaletteEditor, yaze::app::editor::ScreenEditor, yaze::app::editor::SettingsEditor, yaze::app::editor::SpriteEditor, and yaze::test::integration::TestEditor.
Referenced by yaze::app::editor::EditorManager::DrawYazeMenuBar(), and yaze::app::editor::EditorManager::ManageKeyboardShortcuts().
|
pure virtual |
Implemented in yaze::app::editor::AssemblyEditor, yaze::app::editor::DungeonEditor, yaze::app::editor::GraphicsEditor, yaze::app::editor::MessageEditor, yaze::app::editor::MusicEditor, yaze::app::editor::OverworldEditor, yaze::app::editor::PaletteEditor, yaze::app::editor::ScreenEditor, yaze::app::editor::SettingsEditor, yaze::app::editor::SpriteEditor, and yaze::test::integration::TestEditor.
Referenced by yaze::app::editor::DrawEditor(), and yaze::app::core::Controller::OnTestLoad().
|
pure virtual |
Implemented in yaze::app::editor::AssemblyEditor, yaze::app::editor::DungeonEditor, yaze::app::editor::GraphicsEditor, yaze::app::editor::MessageEditor, yaze::app::editor::MusicEditor, yaze::app::editor::OverworldEditor, yaze::app::editor::PaletteEditor, yaze::app::editor::ScreenEditor, yaze::app::editor::SettingsEditor, yaze::app::editor::SpriteEditor, and yaze::test::integration::TestEditor.
Referenced by yaze::app::editor::EditorManager::DrawYazeMenuBar(), and yaze::app::editor::EditorManager::ManageKeyboardShortcuts().
|
inline |
Definition at line 70 of file editor.h.
References type_.
Referenced by yaze::app::editor::DrawEditor().
|
protected |
Definition at line 73 of file editor.h.
Referenced by yaze::app::editor::AssemblyEditor::AssemblyEditor(), yaze::app::editor::DungeonEditor::DungeonEditor(), yaze::app::editor::GraphicsEditor::GraphicsEditor(), yaze::app::editor::MessageEditor::MessageEditor(), yaze::app::editor::MusicEditor::MusicEditor(), yaze::app::editor::OverworldEditor::OverworldEditor(), yaze::app::editor::PaletteEditor::PaletteEditor(), yaze::app::editor::ScreenEditor::ScreenEditor(), yaze::app::editor::SettingsEditor::SettingsEditor(), yaze::app::editor::SpriteEditor::SpriteEditor(), and type().
|
protected |