yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::test::TestEditor Class Reference

#include <test_editor.h>

Inheritance diagram for yaze::test::TestEditor:
Collaboration diagram for yaze::test::TestEditor:

Public Member Functions

 TestEditor ()=default
 
 ~TestEditor ()=default
 
void Initialize () override
 
absl::Status Cut () override
 
absl::Status Copy () override
 
absl::Status Paste () override
 
absl::Status Undo () override
 
absl::Status Redo () override
 
absl::Status Find () override
 
absl::Status Update () override
 
absl::Status Save () override
 
absl::Status Load () override
 
void RegisterTests (ImGuiTestEngine *engine)
 
- Public Member Functions inherited from yaze::editor::Editor
 Editor ()=default
 
virtual ~Editor ()=default
 
virtual absl::Status Clear ()
 
virtual void CleanupUnusedTextures (uint64_t current_time, uint64_t timeout)
 
EditorType type () const
 
void set_context (EditorContext *context)
 
bool * active ()
 
void set_active (bool active)
 

Private Attributes

ImGuiTestEngine * engine_
 

Additional Inherited Members

- Protected Attributes inherited from yaze::editor::Editor
bool active_ = false
 
EditorType type_
 
EditorContextcontext_ = nullptr
 

Detailed Description

Definition at line 11 of file test_editor.h.

Constructor & Destructor Documentation

◆ TestEditor()

yaze::test::TestEditor::TestEditor ( )
default

◆ ~TestEditor()

yaze::test::TestEditor::~TestEditor ( )
default

Member Function Documentation

◆ Initialize()

void yaze::test::TestEditor::Initialize ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 15 of file test_editor.h.

◆ Cut()

absl::Status yaze::test::TestEditor::Cut ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 19 of file test_editor.h.

◆ Copy()

absl::Status yaze::test::TestEditor::Copy ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 22 of file test_editor.h.

◆ Paste()

absl::Status yaze::test::TestEditor::Paste ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 25 of file test_editor.h.

◆ Undo()

absl::Status yaze::test::TestEditor::Undo ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 29 of file test_editor.h.

◆ Redo()

absl::Status yaze::test::TestEditor::Redo ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 32 of file test_editor.h.

◆ Find()

absl::Status yaze::test::TestEditor::Find ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 36 of file test_editor.h.

◆ Update()

absl::Status yaze::test::TestEditor::Update ( )
overridevirtual

Implements yaze::editor::Editor.

Definition at line 19 of file test_editor.cc.

References engine_.

Referenced by yaze::test::RunIntegrationTest().

◆ Save()

absl::Status yaze::test::TestEditor::Save ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 42 of file test_editor.h.

◆ Load()

absl::Status yaze::test::TestEditor::Load ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 45 of file test_editor.h.

◆ RegisterTests()

void yaze::test::TestEditor::RegisterTests ( ImGuiTestEngine * engine)

Definition at line 35 of file test_editor.cc.

References engine_.

Referenced by yaze::test::RunIntegrationTest().

Member Data Documentation

◆ engine_

ImGuiTestEngine* yaze::test::TestEditor::engine_
private

Definition at line 52 of file test_editor.h.

Referenced by RegisterTests(), and Update().


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