Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_CycleWaypointEditorUIComponent Class Reference
Inheritance diagram for SCR_CycleWaypointEditorUIComponent:

Protected Member Functions

void OnInputDeviceIsGamepad (bool isGamepad)
void UpdateInputVisuals ()
 Styles the widget according to the current input device.
void OnSelectedEntitiesChange (EEditableEntityState state, set< SCR_EditableEntityComponent > entitiesInsert, set< SCR_EditableEntityComponent > entitiesRemove)
 Runs when selected entities from entities manager change. Used to update visibility of toggle.
override void HandlerAttached (Widget w)
override void HandlerDeattached (Widget w)
void ToggleCycleWaypoints ()
 Toggle cycle waypoints for selected groups, based on the status of the first group.
void EnableCycleWaypoints ()
 Enable cycle waypoints for selected groups.
void DisableCycleWaypoints ()
 Disable cycle waypoints for selected groups.
bool GetSelectedGroups (notnull out set< SCR_EditableGroupComponent > selectedGroups)
bool GetHasCycleWaypointsActivated ()
bool CanShowToggleCycleWaypoint ()
 Returns if toggle cycle waypoint button can be shown.

Protected Attributes

SCR_BaseEditableEntityFilter m_SelectedEntitiesManager
string m_sCycleWaypointsToggleWidgetName
string m_sSeparatorWidgetName
string m_sRadialActionName
float m_fGamepadScale
float m_fMKBottomPadding
ButtonWidget m_wCycleWaypointsToggle
SCR_ModularButtonComponent m_ModularButtonToggleComponent
Widget m_wSeparator
SCR_PlacingEditorComponent m_PlacingEditor
bool m_bIsGamepad

Detailed Description

Definition at line 1 of file SCR_CycleWaypointEditorUIComponent.c.

Member Function Documentation

◆ CanShowToggleCycleWaypoint()

bool SCR_CycleWaypointEditorUIComponent::CanShowToggleCycleWaypoint ( )
inlineprotected

Returns if toggle cycle waypoint button can be shown.

Definition at line 213 of file SCR_CycleWaypointEditorUIComponent.c.

◆ DisableCycleWaypoints()

void SCR_CycleWaypointEditorUIComponent::DisableCycleWaypoints ( )
inlineprotected

Disable cycle waypoints for selected groups.

Definition at line 156 of file SCR_CycleWaypointEditorUIComponent.c.

◆ EnableCycleWaypoints()

void SCR_CycleWaypointEditorUIComponent::EnableCycleWaypoints ( )
inlineprotected

Enable cycle waypoints for selected groups.

Definition at line 139 of file SCR_CycleWaypointEditorUIComponent.c.

◆ GetHasCycleWaypointsActivated()

bool SCR_CycleWaypointEditorUIComponent::GetHasCycleWaypointsActivated ( )
inlineprotected

Returns if any of the selected group has cycle waypoint activated

Returns
bool to say if it contains or not

Definition at line 194 of file SCR_CycleWaypointEditorUIComponent.c.

◆ GetSelectedGroups()

bool SCR_CycleWaypointEditorUIComponent::GetSelectedGroups ( notnull out set< SCR_EditableGroupComponent > selectedGroups)
inlineprotected

Returns groups from selected entities (unique)

Parameters
[out]selectedGroupsset of groups, must be initialized
Returns
bool to say if it contains or not

Definition at line 175 of file SCR_CycleWaypointEditorUIComponent.c.

◆ HandlerAttached()

override void SCR_CycleWaypointEditorUIComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 72 of file SCR_CycleWaypointEditorUIComponent.c.

◆ HandlerDeattached()

override void SCR_CycleWaypointEditorUIComponent::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 109 of file SCR_CycleWaypointEditorUIComponent.c.

◆ OnInputDeviceIsGamepad()

void SCR_CycleWaypointEditorUIComponent::OnInputDeviceIsGamepad ( bool isGamepad)
inlineprotected

Definition at line 28 of file SCR_CycleWaypointEditorUIComponent.c.

◆ OnSelectedEntitiesChange()

void SCR_CycleWaypointEditorUIComponent::OnSelectedEntitiesChange ( EEditableEntityState state,
set< SCR_EditableEntityComponent > entitiesInsert,
set< SCR_EditableEntityComponent > entitiesRemove )
inlineprotected

Runs when selected entities from entities manager change. Used to update visibility of toggle.

Definition at line 60 of file SCR_CycleWaypointEditorUIComponent.c.

◆ ToggleCycleWaypoints()

void SCR_CycleWaypointEditorUIComponent::ToggleCycleWaypoints ( )
inlineprotected

Toggle cycle waypoints for selected groups, based on the status of the first group.

Definition at line 123 of file SCR_CycleWaypointEditorUIComponent.c.

◆ UpdateInputVisuals()

void SCR_CycleWaypointEditorUIComponent::UpdateInputVisuals ( )
inlineprotected

Styles the widget according to the current input device.

Definition at line 38 of file SCR_CycleWaypointEditorUIComponent.c.

Member Data Documentation

◆ m_bIsGamepad

bool SCR_CycleWaypointEditorUIComponent::m_bIsGamepad
protected

Definition at line 25 of file SCR_CycleWaypointEditorUIComponent.c.

◆ m_fGamepadScale

float SCR_CycleWaypointEditorUIComponent::m_fGamepadScale
protected

Definition at line 15 of file SCR_CycleWaypointEditorUIComponent.c.

◆ m_fMKBottomPadding

float SCR_CycleWaypointEditorUIComponent::m_fMKBottomPadding
protected

Definition at line 18 of file SCR_CycleWaypointEditorUIComponent.c.

◆ m_ModularButtonToggleComponent

SCR_ModularButtonComponent SCR_CycleWaypointEditorUIComponent::m_ModularButtonToggleComponent
protected

Definition at line 21 of file SCR_CycleWaypointEditorUIComponent.c.

◆ m_PlacingEditor

SCR_PlacingEditorComponent SCR_CycleWaypointEditorUIComponent::m_PlacingEditor
protected

Definition at line 23 of file SCR_CycleWaypointEditorUIComponent.c.

◆ m_sCycleWaypointsToggleWidgetName

string SCR_CycleWaypointEditorUIComponent::m_sCycleWaypointsToggleWidgetName
protected

Definition at line 6 of file SCR_CycleWaypointEditorUIComponent.c.

◆ m_SelectedEntitiesManager

SCR_BaseEditableEntityFilter SCR_CycleWaypointEditorUIComponent::m_SelectedEntitiesManager
protected

Definition at line 3 of file SCR_CycleWaypointEditorUIComponent.c.

◆ m_sRadialActionName

string SCR_CycleWaypointEditorUIComponent::m_sRadialActionName
protected

Definition at line 12 of file SCR_CycleWaypointEditorUIComponent.c.

◆ m_sSeparatorWidgetName

string SCR_CycleWaypointEditorUIComponent::m_sSeparatorWidgetName
protected

Definition at line 9 of file SCR_CycleWaypointEditorUIComponent.c.

◆ m_wCycleWaypointsToggle

ButtonWidget SCR_CycleWaypointEditorUIComponent::m_wCycleWaypointsToggle
protected

Definition at line 20 of file SCR_CycleWaypointEditorUIComponent.c.

◆ m_wSeparator

Widget SCR_CycleWaypointEditorUIComponent::m_wSeparator
protected

Definition at line 22 of file SCR_CycleWaypointEditorUIComponent.c.


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