yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::ContentRegistry::Editors Namespace Reference

Alias for Panels; preferred name for WindowContent registration. More...

Typedefs

using EditorFactory
 

Functions

void RegisterFactory (EditorFactory factory)
 
std::vector< std::unique_ptr< Editor > > CreateAll (const EditorDependencies &deps)
 
template<typename T >
void add ()
 

Detailed Description

Alias for Panels; preferred name for WindowContent registration.

Registry for Editors (full workspace tabs).

Typedef Documentation

◆ EditorFactory

Initial value:
std::function<std::unique_ptr<Editor>(const EditorDependencies&)>

Definition at line 241 of file content_registry.h.

Function Documentation

◆ RegisterFactory()

void yaze::editor::ContentRegistry::Editors::RegisterFactory ( EditorFactory factory)

Definition at line 387 of file content_registry.cc.

Referenced by add().

◆ CreateAll()

std::vector< std::unique_ptr< Editor > > yaze::editor::ContentRegistry::Editors::CreateAll ( const EditorDependencies & deps)

Definition at line 392 of file content_registry.cc.

◆ add()

template<typename T >
void yaze::editor::ContentRegistry::Editors::add ( )

Definition at line 247 of file content_registry.h.

References RegisterFactory().

Here is the call graph for this function: