yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::EditorSwitchedEvent Struct Reference

Published when the active editor changes. More...

#include <core_events.h>

Inheritance diagram for yaze::editor::EditorSwitchedEvent:
Collaboration diagram for yaze::editor::EditorSwitchedEvent:

Static Public Member Functions

static EditorSwitchedEvent Create (int type, void *ed)
 

Public Attributes

int editor_type = 0
 
void * editor = nullptr
 

Additional Inherited Members

- Public Member Functions inherited from yaze::Event
virtual ~Event ()=default
 

Detailed Description

Published when the active editor changes.

Definition at line 138 of file core_events.h.

Member Function Documentation

◆ Create()

static EditorSwitchedEvent yaze::editor::EditorSwitchedEvent::Create ( int type,
void * ed )
inlinestatic

Definition at line 142 of file core_events.h.

References editor, and editor_type.

Referenced by yaze::test::CoreSystemsTestSuite::RunCoreEventsCreationTest().

Member Data Documentation

◆ editor_type

int yaze::editor::EditorSwitchedEvent::editor_type = 0

Definition at line 139 of file core_events.h.

Referenced by Create().

◆ editor

void* yaze::editor::EditorSwitchedEvent::editor = nullptr

Definition at line 140 of file core_events.h.

Referenced by Create().


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