yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::Editor Class Referenceabstract

Interface for editor classes. More...

#include <editor.h>

Inherited by yaze::editor::AssemblyEditor, yaze::editor::DungeonEditor, yaze::editor::GraphicsEditor, yaze::editor::MessageEditor, yaze::editor::MusicEditor, yaze::editor::OverworldEditor, yaze::editor::PaletteEditor, yaze::editor::ScreenEditor, yaze::editor::SettingsEditor, yaze::editor::SpriteEditor, and yaze::test::integration::TestEditor.

Collaboration diagram for yaze::editor::Editor:

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_
 

Detailed Description

Interface for editor classes.

Provides basic editing operations that each editor should implement.

Definition at line 49 of file editor.h.

Constructor & Destructor Documentation

◆ Editor()

yaze::editor::Editor::Editor ( )
default

◆ ~Editor()

virtual yaze::editor::Editor::~Editor ( )
virtualdefault

Member Function Documentation

◆ Cut()

◆ Copy()

◆ Paste()

◆ Undo()

◆ Redo()

◆ Update()

◆ Find()

◆ type()

EditorType yaze::editor::Editor::type ( ) const
inline

Definition at line 65 of file editor.h.

References type_.

Member Data Documentation

◆ type_

◆ context_

EditorContext yaze::editor::Editor::context_
protected

Definition at line 69 of file editor.h.


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