|
Deki 1.3.0
Modular C++ 2D engine for embedded displays and desktop
|
Classes | |
| struct | DekiEditorInternal::EditorFactoryInfo |
| Editor factory info for runtime creation. More... | |
| class | DekiEditorInternal::EditorRegistry |
| Internal registry for auto-registered editor extensions. More... | |
| struct | DekiEditorInternal::EditorRegistrar< T > |
| Auto-registration helper template (factory-based). More... | |
Namespaces | |
| namespace | DekiEditorInternal |
Macros | |
| #define | REGISTER_EDITOR(EditorClass) |
| Macro for auto-registering editor extensions. | |
| #define REGISTER_EDITOR | ( | EditorClass | ) |
Macro for auto-registering editor extensions.
Use this at the end of your editor class definition: REGISTER_EDITOR(MyComponentEditor) REGISTER_EDITOR(MyAssetTypeEditor)
Works for both CustomEditor and AssetTypeEditor subclasses. Now uses factory pattern to create fresh instances per-component.