Arma Reforger Script API
|
Public Member Functions | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
void | SetImage (ResourceName name) |
string | GetImage () |
void | Select () |
void | Deselect () |
![]() | |
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) |
void | SetData (Managed data) |
Store custom data. | |
Managed | GetData () |
Get stored data. | |
![]() | |
Widget | GetRootWidget () |
bool | IsVisible () |
Public Attributes | |
ref ScriptInvoker | m_OnClicked = new ScriptInvoker() |
Widget | m_wSizeContent |
ImageWidget | m_Picture |
ImageWidget | m_SelectedBar |
string | m_sPictureString = string.Empty |
![]() | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Additional Inherited Members | |
![]() | |
static bool | SetTexture (ImageWidget widget, ResourceName texture, string image="") |
![]() | |
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
Base method for component lookup through the widget library. | |
![]() | |
static const float | START_ANIMATION_RATE = 10001 |
static const float | START_ANIMATION_PERIOD = 250 |
![]() | |
void | OnEnabled (bool animate) |
void | OnDisabled (bool animate) |
bool | IsChildWidget (Widget parent, Widget child) |
void | SetAnimationRate () |
void | PlaySound (string sound) |
![]() | |
string | m_sSoundHovered |
string | m_sSoundClicked |
string | m_sSoundContainerClosed |
float | m_fAnimationTime |
bool | m_bMouseOverToFocus |
float | m_fDisabledOpacity |
float | m_fAnimationRate |
ref Managed | m_UserData |
![]() | |
Widget | m_wRoot |
void SCR_ImageGalleryButtonComponent.Deselect | ( | ) |
string SCR_ImageGalleryButtonComponent.GetImage | ( | ) |
override void SCR_ImageGalleryButtonComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_WLibComponentBase.
override bool SCR_ImageGalleryButtonComponent.OnClick | ( | Widget | w, |
int | x, | ||
int | y, | ||
int | button ) |
Implements SCR_WLibComponentBase.
void SCR_ImageGalleryButtonComponent.Select | ( | ) |
void SCR_ImageGalleryButtonComponent.SetImage | ( | ResourceName | name | ) |
ref ScriptInvoker SCR_ImageGalleryButtonComponent.m_OnClicked = new ScriptInvoker() |
ImageWidget SCR_ImageGalleryButtonComponent.m_Picture |
ImageWidget SCR_ImageGalleryButtonComponent.m_SelectedBar |
string SCR_ImageGalleryButtonComponent.m_sPictureString = string.Empty |
Widget SCR_ImageGalleryButtonComponent.m_wSizeContent |