Arma Reforger Script API
|
Effect which passes all subscribed events to another modular button. More...
Public Member Functions | |
void | SetTargetWidget (Widget targetWidget) |
override void | OnHandlerAttached (Widget w) |
override void | OnStateDefault (bool instant) |
override void | OnStateHovered (bool instant) |
override void | OnStateActivated (bool instant) |
override void | OnStateActivatedHovered (bool instant) |
override void | OnStateDisabled (bool instant) |
override void | OnStateDisabledActivated (bool instant) |
override void | OnClicked (bool instant) |
override void | OnFocusGained (bool instant) |
override void | OnFocusLost (bool instant) |
override void | OnToggledOn (bool instant) |
override void | OnToggledOff (bool instant) |
Public Member Functions inherited from SCR_ButtonEffectWidgetBase | |
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 | |
SCR_ModularButtonComponent | m_targetComponent |
Protected Attributes inherited from SCR_ButtonEffectWidgetBase | |
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) |
Effect which passes all subscribed events to another modular button.
override void SCR_ButtonEffectSlaveButton.OnClicked | ( | bool | instant | ) |
Implements SCR_ButtonEffectBase.
override void SCR_ButtonEffectSlaveButton.OnFocusGained | ( | bool | instant | ) |
Implements SCR_ButtonEffectBase.
override void SCR_ButtonEffectSlaveButton.OnFocusLost | ( | bool | instant | ) |
Implements SCR_ButtonEffectBase.
override void SCR_ButtonEffectSlaveButton.OnHandlerAttached | ( | Widget | w | ) |
[in] | w |
Implements SCR_ButtonEffectWidgetBase.
override void SCR_ButtonEffectSlaveButton.OnStateActivated | ( | bool | instant | ) |
Implements SCR_ButtonEffectBase.
override void SCR_ButtonEffectSlaveButton.OnStateActivatedHovered | ( | bool | instant | ) |
Implements SCR_ButtonEffectBase.
override void SCR_ButtonEffectSlaveButton.OnStateDefault | ( | bool | instant | ) |
Implements SCR_ButtonEffectBase.
override void SCR_ButtonEffectSlaveButton.OnStateDisabled | ( | bool | instant | ) |
Implements SCR_ButtonEffectBase.
override void SCR_ButtonEffectSlaveButton.OnStateDisabledActivated | ( | bool | instant | ) |
Implements SCR_ButtonEffectBase.
override void SCR_ButtonEffectSlaveButton.OnStateHovered | ( | bool | instant | ) |
Implements SCR_ButtonEffectBase.
override void SCR_ButtonEffectSlaveButton.OnToggledOff | ( | bool | instant | ) |
Implements SCR_ButtonEffectBase.
override void SCR_ButtonEffectSlaveButton.OnToggledOn | ( | bool | instant | ) |
Implements SCR_ButtonEffectBase.
void SCR_ButtonEffectSlaveButton.SetTargetWidget | ( | Widget | targetWidget | ) |
[in] | targetWidget |
|
protected |