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

Interface for editor classes. More...

#include <editor.h>

Inheritance diagram for yaze::app::editor::Editor:
Collaboration diagram for yaze::app::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 54 of file editor.h.

Constructor & Destructor Documentation

◆ Editor()

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

◆ ~Editor()

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

Member Function Documentation

◆ Cut()

◆ Copy()

◆ Paste()

◆ Undo()

◆ Redo()

◆ Update()

◆ Find()

◆ type()

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

Definition at line 70 of file editor.h.

References type_.

Referenced by yaze::app::editor::DrawEditor().

Member Data Documentation

◆ type_

◆ context_

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

Definition at line 74 of file editor.h.


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