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

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 ()
 
- 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 ()
 

Public Attributes

ref ScriptInvoker m_OnClicked = new ScriptInvoker()
 
Widget m_wSizeContent
 
ImageWidget m_Picture
 
ImageWidget m_SelectedBar
 
string m_sPictureString = string.Empty
 
- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Additional Inherited Members

- 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.
 
- Static Public Attributes inherited from SCR_WLibComponentBase
static const float START_ANIMATION_RATE = 10001
 
static const float START_ANIMATION_PERIOD = 250
 
- 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 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
 

Member Function Documentation

◆ Deselect()

void SCR_ImageGalleryButtonComponent.Deselect ( )

◆ GetImage()

string SCR_ImageGalleryButtonComponent.GetImage ( )

◆ HandlerAttached()

override void SCR_ImageGalleryButtonComponent.HandlerAttached ( Widget  w)

Implements SCR_WLibComponentBase.

◆ OnClick()

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

Implements SCR_WLibComponentBase.

◆ Select()

void SCR_ImageGalleryButtonComponent.Select ( )

◆ SetImage()

void SCR_ImageGalleryButtonComponent.SetImage ( ResourceName  name)

Member Data Documentation

◆ m_OnClicked

ref ScriptInvoker SCR_ImageGalleryButtonComponent.m_OnClicked = new ScriptInvoker()

◆ m_Picture

ImageWidget SCR_ImageGalleryButtonComponent.m_Picture

◆ m_SelectedBar

ImageWidget SCR_ImageGalleryButtonComponent.m_SelectedBar

◆ m_sPictureString

string SCR_ImageGalleryButtonComponent.m_sPictureString = string.Empty

◆ m_wSizeContent

Widget SCR_ImageGalleryButtonComponent.m_wSizeContent

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