113 void SetSyncEnabled(
bool hierarchyToScene,
bool sceneToHierarchy);
131 void NotifyChange(
const std::string &category,
const std::string &setting);
BehaviorTreeConfig & GetConfig()
BehaviorTreeConfigManager()=default
bool IsCenteringEnabled() const
const BehaviorTreeConfig & GetConfig() const
static BehaviorTreeConfigManager & GetInstance()
bool IsHighlightingEnabled() const
bool IsSyncEnabled(bool hierarchyToScene) const
BehaviorTreeConfig config_
Configuration settings for the behavior tree editor.
void UnregisterChangeCallback(const ConfigChangeCallback &callback)
const VisualSettings & GetVisualSettings() const
InteractionSettings & GetInteractionSettings()
const SyncSettings & GetSyncSettings() const
VisualSettings visualSettings_
std::function< void(const std::string &category, const std::string &setting)> ConfigChangeCallback
InteractionSettings interactionSettings_
SyncSettings & GetSyncSettings()
std::vector< ConfigChangeCallback > changeCallbacks_
const InteractionSettings & GetInteractionSettings() const
bool LoadFromFile(const EmberCore::String &filename)
~BehaviorTreeConfig()=default
void NotifyChange(const std::string &category, const std::string &setting)
void SetDebugMode(bool enabled)
const DebugSettings & GetDebugSettings() const
bool SaveToFile(const EmberCore::String &filename) const
void SetSyncEnabled(bool hierarchyToScene, bool sceneToHierarchy)
SyncSettings syncSettings_
bool ValidateSettings() const
std::vector< std::string > GetValidationErrors() const
DebugSettings debugSettings_
void SetHighlightingEnabled(bool enabled)
void SetCenteringEnabled(bool enabled, bool animated=false)
VisualSettings & GetVisualSettings()
void RegisterChangeCallback(const ConfigChangeCallback &callback)
DebugSettings & GetDebugSettings()
Main types header for EmberCore.
std::string String
Framework-agnostic string type.
Debugging and development settings.
bool enablePerformanceMetrics
Interaction behavior configuration settings.
bool requireCtrlForMultiSelect
bool enableMiddleClickCenter
bool enableRightClickMenu
bool enableDoubleClickExpand
bool enableKeyboardNavigation
Synchronization configuration settings.
bool enableHierarchyToScene
bool enableSelectionHighlight
bool enableSceneToHierarchy
Visual appearance configuration settings.
EmberCore::Color normalBorderColor
EmberCore::Color selectedNodeColor
EmberCore::Color selectedBorderColor
EmberCore::Color hoveredNodeColor
EmberCore::Color hoveredBorderColor
EmberCore::Color normalNodeColor
RGBA color with 8-bit components.