TestWidgetModule
TestWidgetModule
Functions
| Name | |
|---|---|
| void | registerTypes(EditorRegistry * registry, std::shared_ptr< DataManager > data_manager) Register the TestWidget editor type with the registry. |
Functions Documentation
function registerTypes
void registerTypes(
EditorRegistry * registry,
std::shared_ptr< DataManager > data_manager
)Register the TestWidget editor type with the registry.
Parameters:
- registry The EditorRegistry to register types with
- data_manager Shared DataManager for widget construction
This function registers the TestWidget type, including:
- State factory: Creates TestWidgetState
- View factory: Creates TestWidgetView (goes to Zone::Center)
- Properties factory: Creates TestWidgetProperties (goes to Zone::Right)
TestWidget is a single-instance editor demonstrating the View/Properties split pattern where view and properties are placed in different zones.
Updated on 2026-11-13 at 20:25:41 +0000