Go to the source code of this file.
◆ RadialMenuControlType
| Enumerator |
|---|
| MOUSE | |
| CONTROLLER | |
Definition at line 1 of file radialmenu.c.
◆ ActivateControllerTimeout()
| void ActivateControllerTimeout |
( |
bool | state | ) |
|
|
protected |
◆ GetAngleInDegrees()
◆ GetItemCardsCount()
| int GetItemCardsCount |
( |
| ) |
|
|
protected |
◆ GetMouseDistance()
| float GetMouseDistance |
( |
| ) |
|
|
protected |
◆ GetMousePointerAngle()
| float GetMousePointerAngle |
( |
| ) |
|
|
protected |
◆ GetObjectByDegAngle()
| Widget GetObjectByDegAngle |
( |
float | deg_angle | ) |
|
|
protected |
◆ GetParentCenter()
| void GetParentCenter |
( |
out float | center_x, |
|
|
out float | center_y ) |
|
protected |
◆ GetParentMinSize()
| float GetParentMinSize |
( |
| ) |
|
|
protected |
◆ GetRadius()
◆ HideRadialSelector()
| void HideRadialSelector |
( |
| ) |
|
|
protected |
◆ IsUsingController()
| bool IsUsingController |
( |
| ) |
|
|
protected |
◆ IsUsingMouse()
◆ IsWidgetInitialized()
| bool IsWidgetInitialized |
( |
| ) |
|
|
protected |
◆ NormalizeInvertAngle()
◆ OnMouseButtonUp()
| override bool OnMouseButtonUp |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y, |
|
|
int | button ) |
|
protected |
◆ OnWidgetScriptInit()
| void OnWidgetScriptInit |
( |
Widget | w | ) |
|
|
protected |
◆ RadialMenu()
◆ Refresh()
| void Refresh |
( |
bool | hide_selector = true | ) |
|
|
protected |
◆ RegisterClass()
◆ SetControlType()
◆ SetExecuteDistOffset()
| void SetExecuteDistOffset |
( |
float | execute_dist_offset | ) |
|
|
protected |
◆ SetItemCardRadiusOffset()
| void SetItemCardRadiusOffset |
( |
float | item_card_radius_offset | ) |
|
|
protected |
◆ SetOffsetFromTop()
| void SetOffsetFromTop |
( |
float | offset_from_top | ) |
|
|
protected |
◆ SetRadiusOffset()
| void SetRadiusOffset |
( |
float | radius_offset | ) |
|
|
protected |
◆ SetWidgetInitialized()
| void SetWidgetInitialized |
( |
bool | state | ) |
|
|
protected |
◆ SetWidgetProperties()
| void SetWidgetProperties |
( |
string | delimiter_layout | ) |
|
|
protected |
◆ ShowRadialSelector()
| void ShowRadialSelector |
( |
Widget | selected_item | ) |
|
|
protected |
◆ UpdataControllerInput()
| void UpdataControllerInput |
( |
| ) |
|
|
protected |
◆ ~RadialMenu()
◆ CONTROLLER_DESELECT_TIMEOUT
| const float CONTROLLER_DESELECT_TIMEOUT = 1000 |
|
protected |
◆ CONTROLLER_TILT_TRESHOLD_EXECUTE
| const float CONTROLLER_TILT_TRESHOLD_EXECUTE = 1.0 |
|
protected |
◆ CONTROLLER_TILT_TRESHOLD_SELECT
| const float CONTROLLER_TILT_TRESHOLD_SELECT = 0.8 |
|
protected |
◆ last_time
◆ m_AngleRadOffset
◆ m_ControllerAngle
◆ m_ControllerTilt
◆ m_ControllerTimout
◆ m_ControlType
◆ m_DelimiterLayout
◆ m_ExecuteDistanceOffset
| float m_ExecuteDistanceOffset |
|
protected |
◆ m_IsControllerTimoutEnabled
◆ m_ItemCardRadiusOffset
| float m_ItemCardRadiusOffset |
|
protected |
◆ m_ItemCardsContainer
| Widget m_ItemCardsContainer |
|
protected |
◆ m_OffsetFromTop
◆ m_Parent
◆ m_RadialItemCards
| ref map<Widget, float> m_RadialItemCards |
|
protected |
◆ m_RadialSelector
◆ m_RadialSelectorDisabledColor
| int m_RadialSelectorDisabledColor |
|
protected |
◆ m_RadialSelectorImage
| ImageWidget m_RadialSelectorImage |
|
protected |
◆ m_RadialSelectorOriginalColor
| int m_RadialSelectorOriginalColor |
|
protected |
◆ m_RadialSelectorPointerImage
| ImageWidget m_RadialSelectorPointerImage |
|
protected |
◆ m_RadiusOffset
◆ m_RegisteredClass
◆ m_SelectedObject
◆ m_UpdateTimer
◆ m_WidgetInitialized
◆ MOUSE_SAFE_ZONE_RADIUS
| const float MOUSE_SAFE_ZONE_RADIUS = 120 |
|
protected |