Skip to main content

WhiskerWidgetModule

WhiskerWidgetModule

Functions

Name
void registerTypes(EditorRegistry * registry, std::shared_ptr< DataManager > data_manager, KeymapSystem::KeymapManager * keymap_manager =[nullptr])
Register Whisker Widget editor types with the registry.

Functions Documentation

function registerTypes

void registerTypes(
    EditorRegistry * registry,
    std::shared_ptr< DataManager > data_manager,
    KeymapSystem::KeymapManager * keymap_manager =nullptr
)

Register Whisker Widget editor types with the registry.

Parameters:

  • registry The EditorRegistry to register with
  • data_manager Shared DataManager for data access
  • keymap_manager Optional KeymapManager for keyboard shortcut registration

This function registers the WhiskerWidget type, including:

  • State factory: Creates WhiskerWidgetState
  • View factory: Creates Whisker_Widget (combined view - no view/properties split)
  • Properties factory: nullptr (widget is self-contained)
  • Keymap action: whisker_widget.trace (default T, AlwaysRouted)

Updated on 2026-11-13 at 20:25:41 +0000