|
Arma Reforger Script API
|
Class for addon line button base. More...
Public Member Functions | |
| override void | HandlerAttached (Widget w) |
| override void | HandlerDeattached (Widget w) |
| override bool | OnFocus (Widget w, int x, int y) |
| override bool | OnFocusLost (Widget w, int x, int y) |
| override void | UpdateModularButtons () |
| override void | OnTooltipShow (SCR_ScriptedWidgetTooltip tooltip) |
| void | OnUpdateButton () |
| void | OnOpenDetailsButton () |
| void | OnEnableButton () |
| void | OnDisableButton () |
| bool | IsEnabled () |
| void | Init (SCR_WorkshopItem item) |
| Setup line. | |
| SCR_WorkshopItem | GetWorkshopItem () |
| SCR_EAddonLineErrorFlags | GetErrorFlags () |
| bool | CanBeEnabled () |
| ScriptInvokerScriptedWidgetComponent | GetOnEnableButton () |
| ScriptInvokerScriptedWidgetComponent | GetOnDisableButton () |
| ScriptInvokerScriptedWidgetComponent | GetOnFixButton () |
Public Member Functions inherited from SCR_ListMenuEntryComponent | |
| override bool | OnClick (Widget w, int x, int y, int button) |
| override bool | OnDoubleClick (Widget w, int x, int y, int button) |
| override bool | OnMouseEnter (Widget w, int x, int y) |
| void | AnimateOpacity (int delay, float animationTime, float opacityEnd, float opacityStart=-1) |
| Animate whole widget opacity. | |
| bool | IsInnerButtonInteraction () |
| bool | IsFocused () |
| bool | IsAvailable () |
| ScriptInvokerString | GetOnMouseInteractionButtonClicked () |
| ScriptInvokerScriptedWidgetComponent | GetOnFocus () |
| ScriptInvokerScriptedWidgetComponent | GetOnFocusLost () |
| ScriptInvokerScriptedWidgetComponent | GetOnMouseEnter () |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
| Widget | GetRootWidget () |
| bool | IsVisible () |
Additional Inherited Members | |
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_ScriptedWidgetComponent | |
| ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Class for addon line button base.
This component just vizualize state and invoke interaction. Items are not manipulated in this component.
| bool SCR_AddonLineBaseComponent.CanBeEnabled | ( | ) |
|
protected |
| SCR_EAddonLineErrorFlags SCR_AddonLineBaseComponent.GetErrorFlags | ( | ) |
| ScriptInvokerScriptedWidgetComponent SCR_AddonLineBaseComponent.GetOnDisableButton | ( | ) |
| ScriptInvokerScriptedWidgetComponent SCR_AddonLineBaseComponent.GetOnEnableButton | ( | ) |
| ScriptInvokerScriptedWidgetComponent SCR_AddonLineBaseComponent.GetOnFixButton | ( | ) |
| SCR_WorkshopItem SCR_AddonLineBaseComponent.GetWorkshopItem | ( | ) |
|
protected |
|
protected |
Implemented in SCR_AddonLineDSConfigComponent.
| override void SCR_AddonLineBaseComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_ListMenuEntryComponent.
| override void SCR_AddonLineBaseComponent.HandlerDeattached | ( | Widget | w | ) |
Implements SCR_ListMenuEntryComponent.
|
protected |
| void SCR_AddonLineBaseComponent.Init | ( | SCR_WorkshopItem | item | ) |
Setup line.
Implemented in SCR_AddonLineDSConfigComponent.
| bool SCR_AddonLineBaseComponent.IsEnabled | ( | ) |
Implemented in SCR_AddonLineDSConfigComponent, and SCR_WorkshopAddonLineComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| void SCR_AddonLineBaseComponent.OnDisableButton | ( | ) |
Implemented in SCR_AddonLineDSConfigComponent.
| void SCR_AddonLineBaseComponent.OnEnableButton | ( | ) |
|
protected |
| override bool SCR_AddonLineBaseComponent.OnFocus | ( | Widget | w, |
| int | x, | ||
| int | y ) |
Implements SCR_ListMenuEntryComponent.
| override bool SCR_AddonLineBaseComponent.OnFocusLost | ( | Widget | w, |
| int | x, | ||
| int | y ) |
Implements SCR_ListMenuEntryComponent.
|
protected |
| void SCR_AddonLineBaseComponent.OnOpenDetailsButton | ( | ) |
|
protected |
| override void SCR_AddonLineBaseComponent.OnTooltipShow | ( | SCR_ScriptedWidgetTooltip | tooltip | ) |
Implements SCR_ListMenuEntryComponent.
| void SCR_AddonLineBaseComponent.OnUpdateButton | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Update vizual state of line.
Implemented in SCR_AddonLineDSConfigComponent, and SCR_WorkshopAddonLineComponent.
|
protected |
Display incopatible icon Set icon to incompatible and update base on current state.
|
protected |
|
protected |
| override void SCR_AddonLineBaseComponent.UpdateModularButtons | ( | ) |
Implements SCR_ListMenuEntryComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |