Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_ButtonEffectWidgetBase Interface Reference

Button effect which does something with a specific widget. More...

Inheritance diagram for SCR_ButtonEffectWidgetBase:
[legend]

Public Member Functions

override void OnHandlerAttached (Widget w)
 
Widget GetTargetWidget ()
 
- Public Member Functions inherited from SCR_ButtonEffectBase
bool GetEnabled ()
 
void SetEnabled (bool enabled)
 
void PropertiesChanged ()
 Call it if properties have changed and they must be reapplied.
 
bool HasTag (string tag)
 Returns true when the effect contains a given tag.
 
void OnHandlerAttached (Widget w)
 
void OnDisabled ()
 
bool Internal_OnEvent (EModularButtonEventFlag eventFlag, EInputDeviceType deviceType, bool instant=false)
 
void Init (SCR_ModularButtonComponent parentButton)
 

Protected Attributes

string m_sWidgetName
 
Widget m_wTarget
 
- Protected Attributes inherited from SCR_ButtonEffectBase
bool m_bEnabled
 
SCR_ModularButtonComponent m_Button
 

Additional Inherited Members

- Public Attributes inherited from SCR_ButtonEffectBase
ref array< string > m_aTags
 
EModularButtonEventFlag m_eEvents
 
EModularButtonInputDevice m_eInputDevices
 
- Protected Member Functions inherited from SCR_ButtonEffectBase
void OnStateDefault (bool instant)
 
void OnStateHovered (bool instant)
 
void OnStateActivated (bool instant)
 
void OnStateActivatedHovered (bool instant)
 
void OnStateDisabled (bool instant)
 
void OnStateDisabledActivated (bool instant)
 
void OnClicked (bool instant)
 
void OnFocusGained (bool instant)
 
void OnFocusLost (bool instant)
 
void OnToggledOn (bool instant)
 
void OnToggledOff (bool instant)
 
void OnMouseEnter (bool instant)
 
void OnMouseLeave (bool instant)
 
void _print (string s)
 

Detailed Description

Button effect which does something with a specific widget.

Member Function Documentation

◆ GetTargetWidget()

Widget SCR_ButtonEffectWidgetBase.GetTargetWidget ( )
Returns

◆ OnHandlerAttached()

override void SCR_ButtonEffectWidgetBase.OnHandlerAttached ( Widget  w)
Parameters
[in]w

Implements SCR_ButtonEffectBase.

Implemented in SCR_ButtonEffectSlaveButton.

Member Data Documentation

◆ m_sWidgetName

string SCR_ButtonEffectWidgetBase.m_sWidgetName
protected

◆ m_wTarget

Widget SCR_ButtonEffectWidgetBase.m_wTarget
protected

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