Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_TaskListEntryHandler Interface Reference
Inheritance diagram for SCR_TaskListEntryHandler:
[legend]

Public Member Functions

SCR_BaseTask GetTask ()
 
void SetTask (SCR_BaseTask task)
 
void SetAssigneeCount (int count)
 
void SetTaskTextColor ()
 
void SetTaskIconColor ()
 
void UpdateTask (SCR_BaseTask task)
 
void Expand (bool expand)
 
override bool OnClick (Widget w, int x, int y, int button)
 
void ExpandTaskLayout ()
 
override bool OnFocusLost (Widget w, int x, int y)
 
override bool OnFocus (Widget w, int x, int y)
 
void SetCollapsed (bool collapse, bool anim=true)
 
override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 
- Public Member Functions inherited from SCR_ButtonBaseComponent
override void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
override bool OnMouseEnter (Widget w, int x, int y)
 
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
 
override bool OnFocus (Widget w, int x, int y)
 
override bool OnFocusLost (Widget w, int x, int y)
 
void SetToggled (bool toggled, bool animate=true, bool invokeChange=true, bool instant=false)
 
bool IsToggled ()
 
void SetToggleable (bool togglable)
 
bool GetToggleable ()
 
void ShowBorder (bool show, bool animate=true)
 
bool IsBorderShown ()
 
void SetBackgroundColors (Color defColor=null, Color hoverColor=null, Color selectColor=null, Color selectHoverColor=null, Color clickColor=null)
 Alternate way of setting button background colors through script.
 
void ColorizeBackground (bool animate=true)
 
- Public Member Functions inherited from SCR_WLibComponentBase
override void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
override bool OnMouseEnter (Widget w, int x, int y)
 
override bool OnFocus (Widget w, int x, int y)
 
void SetHoverSound (string soundHover)
 
void SetClickedSound (string soundClicked)
 
string GetHoverSound ()
 
string GetClickedSound ()
 
void SetEnabled (bool enabled, bool animate=true)
 
void SetVisible (bool visible, bool animate=true)
 
bool IsEnabled ()
 
void SetMouseOverToFocus (bool mouseOverToFocus)
 
void SetDisabledOpacity (float newDisabledOpacity)
 
- Public Member Functions inherited from SCR_ScriptedWidgetComponent
override void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
Widget GetRootWidget ()
 
bool IsVisible ()
 

Protected Member Functions

void UpdateAssignButtonText (SCR_BaseTask task)
 
bool IsAnyButtonHovered ()
 
bool IsCollapsed ()
 
void AcceptTask ()
 
void PickAssignee ()
 
void ShowOnMap ()
 
- Protected Member Functions inherited from SCR_ButtonBaseComponent
void OnMenuSelect ()
 
void MenuSelectBase ()
 
void FindParentMenu ()
 Finds the parent menu of this component.
 
bool IsParentMenuFocused ()
 Returns true if parent menu is focused, or if there is no parent menu.
 
- Protected Member Functions inherited from SCR_WLibComponentBase
void OnEnabled (bool animate)
 
void OnDisabled (bool animate)
 
bool IsChildWidget (Widget parent, Widget child)
 
void SetAnimationRate ()
 
void PlaySound (string sound)
 

Protected Attributes

SCR_CollapseWidgetComponent m_CollapseHandler
 
SCR_InputButtonComponent m_AssignButton
 
SCR_InputButtonComponent m_ShowOnMapButton
 
SCR_BaseTask m_Task
 
Widget m_wMainWidget
 
ref array< SCR_BaseTaskExecutorm_aAssignees = new array<SCR_BaseTaskExecutor>()
 
string m_sAssignees = "AssigneesLayout"
 
Widget m_wAssignees
 
Widget m_wRootWidget
 
ref Color m_AssignedTaskColor
 
ResourceName m_sIconImageset
 
- Protected Attributes inherited from SCR_ButtonBaseComponent
bool m_bIsToggled
 
MenuBase m_ParentMenu
 
SCR_SubMenuBase m_ParentSubMenu
 
- Protected Attributes inherited from SCR_WLibComponentBase
string m_sSoundHovered
 
string m_sSoundClicked
 
float m_fAnimationTime
 
bool m_bMouseOverToFocus
 
float m_fDisabledOpacity
 
float m_fAnimationRate
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Static Protected Attributes

static const string ACCEPT_TASK = "#AR-CampaignTasks_ButtonAccept"
 
static const string ABANDON_TASK = "#AR-CampaignTasks_ButtonAbandon"
 
static const string CANCEL_TASK = "#AR-CampaignTasks_ButtonCancel"
 
static const string LOCAL_EXECUTOR_IS_ASSIGNED_TEXT = "#AR-CampaignTasks_ButtonBusy"
 
static const string ASSIGNEE_TIMEOUT_TEXT = "#AR-CampaignTasks_ButtonWait"
 
static const string TASK_ABANDONED_TEXT = "#AR-CampaignTasks_ButtonWait"
 
static const float ANIM_SPEED = UIConstants.FADE_RATE_SUPER_FAST
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_ButtonBaseComponent
static SCR_ButtonBaseComponent GetButtonBase (string name, Widget parent, bool searchAllChildren=true)
 
- Static Public Member Functions inherited from SCR_WLibComponentBase
static bool SetTexture (ImageWidget widget, ResourceName texture, string image="")
 
- Static Public Member Functions inherited from SCR_ScriptedWidgetComponent
static SCR_ScriptedWidgetComponent GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true)
 Base method for component lookup through the widget library.
 
- Public Attributes inherited from SCR_ButtonBaseComponent
bool m_bCanBeToggled
 
bool m_bUseColorization
 
ref Color m_BackgroundDefault
 
ref Color m_BackgroundHovered
 
ref Color m_BackgroundSelected
 
ref Color m_BackgroundSelectedHovered
 
ref Color m_BackgroundClicked
 
bool m_bShowBorderOnFocus
 
bool m_bShowBackgroundOnFocus
 
bool m_bNoBorderAnimation
 
bool m_bNoBackgroundAnimation
 
bool m_bShowBorderOnHover
 
Widget m_wBackground
 
Widget m_wBorder
 
ref ScriptInvoker m_OnClicked = new ScriptInvoker()
 
ref ScriptInvoker m_OnToggled = new ScriptInvoker()
 
ref ScriptInvoker< Widget > m_OnFocus = new ScriptInvoker<Widget>()
 
ref ScriptInvoker< Widget > m_OnFocusLost = new ScriptInvoker<Widget>()
 
ref ScriptInvoker m_OnShowBorder = new ScriptInvoker()
 
- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 
- Static Public Attributes inherited from SCR_WLibComponentBase
static const float START_ANIMATION_RATE = 10001
 
static const float START_ANIMATION_PERIOD = 250
 

Member Function Documentation

◆ AcceptTask()

void SCR_TaskListEntryHandler.AcceptTask ( )
protected

◆ Expand()

void SCR_TaskListEntryHandler.Expand ( bool  expand)

◆ ExpandTaskLayout()

void SCR_TaskListEntryHandler.ExpandTaskLayout ( )

◆ GetTask()

SCR_BaseTask SCR_TaskListEntryHandler.GetTask ( )

◆ HandlerAttached()

override void SCR_TaskListEntryHandler.HandlerAttached ( Widget  w)

◆ HandlerDeattached()

override void SCR_TaskListEntryHandler.HandlerDeattached ( Widget  w)

◆ IsAnyButtonHovered()

bool SCR_TaskListEntryHandler.IsAnyButtonHovered ( )
protected

◆ IsCollapsed()

bool SCR_TaskListEntryHandler.IsCollapsed ( )
protected

◆ OnClick()

override bool SCR_TaskListEntryHandler.OnClick ( Widget  w,
int  x,
int  y,
int  button 
)

◆ OnFocus()

override bool SCR_TaskListEntryHandler.OnFocus ( Widget  w,
int  x,
int  y 
)

◆ OnFocusLost()

override bool SCR_TaskListEntryHandler.OnFocusLost ( Widget  w,
int  x,
int  y 
)

◆ PickAssignee()

void SCR_TaskListEntryHandler.PickAssignee ( )
protected

◆ SetAssigneeCount()

void SCR_TaskListEntryHandler.SetAssigneeCount ( int  count)

◆ SetCollapsed()

void SCR_TaskListEntryHandler.SetCollapsed ( bool  collapse,
bool  anim = true 
)

◆ SetTask()

void SCR_TaskListEntryHandler.SetTask ( SCR_BaseTask  task)

◆ SetTaskIconColor()

void SCR_TaskListEntryHandler.SetTaskIconColor ( )

◆ SetTaskTextColor()

void SCR_TaskListEntryHandler.SetTaskTextColor ( )

◆ ShowOnMap()

void SCR_TaskListEntryHandler.ShowOnMap ( )
protected

◆ UpdateAssignButtonText()

void SCR_TaskListEntryHandler.UpdateAssignButtonText ( SCR_BaseTask  task)
protected

◆ UpdateTask()

void SCR_TaskListEntryHandler.UpdateTask ( SCR_BaseTask  task)

Member Data Documentation

◆ ABANDON_TASK

const string SCR_TaskListEntryHandler.ABANDON_TASK = "#AR-CampaignTasks_ButtonAbandon"
staticprotected

◆ ACCEPT_TASK

const string SCR_TaskListEntryHandler.ACCEPT_TASK = "#AR-CampaignTasks_ButtonAccept"
staticprotected

◆ ANIM_SPEED

const float SCR_TaskListEntryHandler.ANIM_SPEED = UIConstants.FADE_RATE_SUPER_FAST
staticprotected

◆ ASSIGNEE_TIMEOUT_TEXT

const string SCR_TaskListEntryHandler.ASSIGNEE_TIMEOUT_TEXT = "#AR-CampaignTasks_ButtonWait"
staticprotected

◆ CANCEL_TASK

const string SCR_TaskListEntryHandler.CANCEL_TASK = "#AR-CampaignTasks_ButtonCancel"
staticprotected

◆ LOCAL_EXECUTOR_IS_ASSIGNED_TEXT

const string SCR_TaskListEntryHandler.LOCAL_EXECUTOR_IS_ASSIGNED_TEXT = "#AR-CampaignTasks_ButtonBusy"
staticprotected

◆ m_aAssignees

ref array<SCR_BaseTaskExecutor> SCR_TaskListEntryHandler.m_aAssignees = new array<SCR_BaseTaskExecutor>()
protected

◆ m_AssignButton

SCR_InputButtonComponent SCR_TaskListEntryHandler.m_AssignButton
protected

◆ m_AssignedTaskColor

ref Color SCR_TaskListEntryHandler.m_AssignedTaskColor
protected

◆ m_CollapseHandler

SCR_CollapseWidgetComponent SCR_TaskListEntryHandler.m_CollapseHandler
protected

◆ m_sAssignees

string SCR_TaskListEntryHandler.m_sAssignees = "AssigneesLayout"
protected

◆ m_ShowOnMapButton

SCR_InputButtonComponent SCR_TaskListEntryHandler.m_ShowOnMapButton
protected

◆ m_sIconImageset

ResourceName SCR_TaskListEntryHandler.m_sIconImageset
protected

◆ m_Task

SCR_BaseTask SCR_TaskListEntryHandler.m_Task
protected

◆ m_wAssignees

Widget SCR_TaskListEntryHandler.m_wAssignees
protected

◆ m_wMainWidget

Widget SCR_TaskListEntryHandler.m_wMainWidget
protected

◆ m_wRootWidget

Widget SCR_TaskListEntryHandler.m_wRootWidget
protected

◆ TASK_ABANDONED_TEXT

const string SCR_TaskListEntryHandler.TASK_ABANDONED_TEXT = "#AR-CampaignTasks_ButtonWait"
staticprotected

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