Ember
Loading...
Searching...
No Matches
EmberUI::TreeCanvasConfig Struct Reference

Configuration for tree canvas (node sizes, spacing, colors, zoom settings, etc.) More...

#include <TreeCanvas.h>

Public Attributes

int node_width = 175
int node_height = 75
int vertical_spacing = 50
int horizontal_spacing = 20
wxSize title_padding = {0, 5}
int grid_size = 20
int autoCollapseThreshold = 500
int autoCollapseDepth = 3
wxColour background_color = wxColour(0x2A, 0x2A, 0x2A)
wxColour grid_color = wxColour(0x3E, 0x3E, 0x3E)
wxColour text_color = wxColour(0xB4, 0xB4, 0xB4)
wxColour node_color = wxColour(0x4B, 0x4B, 0x4B)
wxColour border_color = wxColour(0x78, 0x78, 0x78)
wxColour selected_border_color = wxColour(0x30, 0x5C, 0xDE)
wxColour hovered_border_color = wxColour(0x90, 0xEE, 0x90)
wxColour connection_color = wxColour(0xFF, 0xFF, 0xFF)
wxColour action_type_color = wxColour(0x4A, 0x90, 0xD9)
wxColour control_type_color = wxColour(0x5C, 0xB8, 0x5C)
wxColour condition_type_color = wxColour(0xF0, 0xAD, 0x4E)
wxColour decorator_type_color = wxColour(0x9B, 0x59, 0xB6)
wxColour behavior_tree_type_color = wxColour(0xD9, 0x53, 0x4F)
int type_header_height = 24
bool show_type_icons = true
bool show_type_text = true
wxColour type_header_text_color = wxColour(0xFF, 0xFF, 0xFF)
wxString icon_directory
float zoom_step = 0.1f
float mouse_wheel_sensitivity = 1.0f
float pan_sensitivity = 1.51f
bool zoom_follows_cursor = true
float pan_step_size = 40.0f
bool enable_smooth_panning = true
float pan_smoothness = 15.0f
int pan_mouse_button = 2
int pan_key_code = -1
bool enable_viewport_culling = true
int viewport_culling_margin = 500
bool highlight_path_to_selected = true
wxColour path_highlight_color = wxColour(0x90, 0xEE, 0x90)
bool show_navigation_info = false

Detailed Description

Configuration for tree canvas (node sizes, spacing, colors, zoom settings, etc.)

Definition at line 19 of file TreeCanvas.h.

Member Data Documentation

◆ action_type_color

wxColour EmberUI::TreeCanvasConfig::action_type_color = wxColour(0x4A, 0x90, 0xD9)

Definition at line 39 of file TreeCanvas.h.

◆ autoCollapseDepth

int EmberUI::TreeCanvasConfig::autoCollapseDepth = 3

Definition at line 28 of file TreeCanvas.h.

◆ autoCollapseThreshold

int EmberUI::TreeCanvasConfig::autoCollapseThreshold = 500

Definition at line 27 of file TreeCanvas.h.

◆ background_color

wxColour EmberUI::TreeCanvasConfig::background_color = wxColour(0x2A, 0x2A, 0x2A)

Definition at line 30 of file TreeCanvas.h.

◆ behavior_tree_type_color

wxColour EmberUI::TreeCanvasConfig::behavior_tree_type_color = wxColour(0xD9, 0x53, 0x4F)

Definition at line 43 of file TreeCanvas.h.

◆ border_color

wxColour EmberUI::TreeCanvasConfig::border_color = wxColour(0x78, 0x78, 0x78)

Definition at line 34 of file TreeCanvas.h.

◆ condition_type_color

wxColour EmberUI::TreeCanvasConfig::condition_type_color = wxColour(0xF0, 0xAD, 0x4E)

Definition at line 41 of file TreeCanvas.h.

◆ connection_color

wxColour EmberUI::TreeCanvasConfig::connection_color = wxColour(0xFF, 0xFF, 0xFF)

Definition at line 37 of file TreeCanvas.h.

◆ control_type_color

wxColour EmberUI::TreeCanvasConfig::control_type_color = wxColour(0x5C, 0xB8, 0x5C)

Definition at line 40 of file TreeCanvas.h.

◆ decorator_type_color

wxColour EmberUI::TreeCanvasConfig::decorator_type_color = wxColour(0x9B, 0x59, 0xB6)

Definition at line 42 of file TreeCanvas.h.

◆ enable_smooth_panning

bool EmberUI::TreeCanvasConfig::enable_smooth_panning = true

Definition at line 57 of file TreeCanvas.h.

◆ enable_viewport_culling

bool EmberUI::TreeCanvasConfig::enable_viewport_culling = true

Definition at line 63 of file TreeCanvas.h.

◆ grid_color

wxColour EmberUI::TreeCanvasConfig::grid_color = wxColour(0x3E, 0x3E, 0x3E)

Definition at line 31 of file TreeCanvas.h.

◆ grid_size

int EmberUI::TreeCanvasConfig::grid_size = 20

Definition at line 25 of file TreeCanvas.h.

◆ highlight_path_to_selected

bool EmberUI::TreeCanvasConfig::highlight_path_to_selected = true

Definition at line 66 of file TreeCanvas.h.

◆ horizontal_spacing

int EmberUI::TreeCanvasConfig::horizontal_spacing = 20

Definition at line 23 of file TreeCanvas.h.

◆ hovered_border_color

wxColour EmberUI::TreeCanvasConfig::hovered_border_color = wxColour(0x90, 0xEE, 0x90)

Definition at line 36 of file TreeCanvas.h.

◆ icon_directory

wxString EmberUI::TreeCanvasConfig::icon_directory

Definition at line 49 of file TreeCanvas.h.

◆ mouse_wheel_sensitivity

float EmberUI::TreeCanvasConfig::mouse_wheel_sensitivity = 1.0f

Definition at line 52 of file TreeCanvas.h.

◆ node_color

wxColour EmberUI::TreeCanvasConfig::node_color = wxColour(0x4B, 0x4B, 0x4B)

Definition at line 33 of file TreeCanvas.h.

◆ node_height

int EmberUI::TreeCanvasConfig::node_height = 75

Definition at line 21 of file TreeCanvas.h.

◆ node_width

int EmberUI::TreeCanvasConfig::node_width = 175

Definition at line 20 of file TreeCanvas.h.

◆ pan_key_code

int EmberUI::TreeCanvasConfig::pan_key_code = -1

Definition at line 61 of file TreeCanvas.h.

◆ pan_mouse_button

int EmberUI::TreeCanvasConfig::pan_mouse_button = 2

Definition at line 60 of file TreeCanvas.h.

◆ pan_sensitivity

float EmberUI::TreeCanvasConfig::pan_sensitivity = 1.51f

Definition at line 53 of file TreeCanvas.h.

◆ pan_smoothness

float EmberUI::TreeCanvasConfig::pan_smoothness = 15.0f

Definition at line 58 of file TreeCanvas.h.

◆ pan_step_size

float EmberUI::TreeCanvasConfig::pan_step_size = 40.0f

Definition at line 55 of file TreeCanvas.h.

◆ path_highlight_color

wxColour EmberUI::TreeCanvasConfig::path_highlight_color = wxColour(0x90, 0xEE, 0x90)

Definition at line 67 of file TreeCanvas.h.

◆ selected_border_color

wxColour EmberUI::TreeCanvasConfig::selected_border_color = wxColour(0x30, 0x5C, 0xDE)

Definition at line 35 of file TreeCanvas.h.

◆ show_navigation_info

bool EmberUI::TreeCanvasConfig::show_navigation_info = false

Definition at line 69 of file TreeCanvas.h.

◆ show_type_icons

bool EmberUI::TreeCanvasConfig::show_type_icons = true

Definition at line 46 of file TreeCanvas.h.

◆ show_type_text

bool EmberUI::TreeCanvasConfig::show_type_text = true

Definition at line 47 of file TreeCanvas.h.

◆ text_color

wxColour EmberUI::TreeCanvasConfig::text_color = wxColour(0xB4, 0xB4, 0xB4)

Definition at line 32 of file TreeCanvas.h.

◆ title_padding

wxSize EmberUI::TreeCanvasConfig::title_padding = {0, 5}

Definition at line 24 of file TreeCanvas.h.

◆ type_header_height

int EmberUI::TreeCanvasConfig::type_header_height = 24

Definition at line 45 of file TreeCanvas.h.

◆ type_header_text_color

wxColour EmberUI::TreeCanvasConfig::type_header_text_color = wxColour(0xFF, 0xFF, 0xFF)

Definition at line 48 of file TreeCanvas.h.

◆ vertical_spacing

int EmberUI::TreeCanvasConfig::vertical_spacing = 50

Definition at line 22 of file TreeCanvas.h.

◆ viewport_culling_margin

int EmberUI::TreeCanvasConfig::viewport_culling_margin = 500

Definition at line 64 of file TreeCanvas.h.

◆ zoom_follows_cursor

bool EmberUI::TreeCanvasConfig::zoom_follows_cursor = true

Definition at line 54 of file TreeCanvas.h.

◆ zoom_step

float EmberUI::TreeCanvasConfig::zoom_step = 0.1f

Definition at line 51 of file TreeCanvas.h.


The documentation for this struct was generated from the following file: