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

Public Member Functions

ScriptInvoker GetOnClicked ()
 
ScriptInvoker GetOnMouseEnter ()
 
ScriptInvoker GetOnMouseLeave ()
 
override bool OnFocus (Widget w, int x, int y)
 
void Activate (bool animate=true, bool playsound=true)
 
void Deactivate (bool animate=true, bool playsound=true)
 
void SetOnHover (bool OnHover=true)
 
void Hide ()
 
void Unhide ()
 
bool IsActive ()
 
void SetText (string text)
 
string GetText ()
 
TextWidget GetTextWidget ()
 
ImageWidget GetCoreImageWidget ()
 
ImageWidget GetBorderImageWidget ()
 
ImageWidget GetChangeSpLeftImageWidget ()
 
ImageWidget GetChangeSpRightImageWidget ()
 
bool GetLeftAndRightSelectedUI ()
 
void SetLeftAndRightUIActivate (bool flag)
 
void SetButtonId (int n)
 
void SetFocus ()
 
int GetButtonId ()
 
- 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 ()
 

Protected Member Functions

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 OnMouseLeave (Widget w, Widget enterW, int x, int y)
 
- 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

LocalizedString m_sSpecializationText
 
TextWidget m_wSpecializationText
 
ImageWidget m_wSpecializationCoreImage
 
ImageWidget m_wSpecializationBackgroundImage
 
ImageWidget m_wSpecializationBorderImage
 
ImageWidget m_wChangeSpLeft
 
ImageWidget m_wChangeSpRight
 
Widget m_wChangeSpLeftLayout
 
Widget m_wChangeSpRightLayout
 
int m_ibuttonId
 
bool m_bIsActive
 
ref Color m_ColorInactive
 
ref Color m_ColorInactiveHovered
 
ref Color m_ColorActive
 
ref Color m_ColorBackgroundInactive
 
ref Color m_ColorBackgroundActive
 
ResourceName m_TextureLegendButton
 
string m_StringCoreImageLegendButton
 
string m_StringBackgroundImageLegendButton
 
string m_StringNotSelectedImageLegendButton
 
string m_StringSelectedImageLegendButton
 
ResourceName m_PagingArrow
 
bool m_bLeftAndRightUI
 
ref ScriptInvoker m_OnClicked = new ScriptInvoker()
 
ref ScriptInvoker m_OnMouseEnter = new ScriptInvoker()
 
ref ScriptInvoker m_OnMouseLeave = new ScriptInvoker()
 
- 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
 

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

Member Function Documentation

◆ Activate()

void SCR_ButtonLegendComponent.Activate ( bool  animate = true,
bool  playsound = true 
)

◆ Deactivate()

void SCR_ButtonLegendComponent.Deactivate ( bool  animate = true,
bool  playsound = true 
)

◆ GetBorderImageWidget()

ImageWidget SCR_ButtonLegendComponent.GetBorderImageWidget ( )

◆ GetButtonId()

int SCR_ButtonLegendComponent.GetButtonId ( )

◆ GetChangeSpLeftImageWidget()

ImageWidget SCR_ButtonLegendComponent.GetChangeSpLeftImageWidget ( )

◆ GetChangeSpRightImageWidget()

ImageWidget SCR_ButtonLegendComponent.GetChangeSpRightImageWidget ( )

◆ GetCoreImageWidget()

ImageWidget SCR_ButtonLegendComponent.GetCoreImageWidget ( )

◆ GetLeftAndRightSelectedUI()

bool SCR_ButtonLegendComponent.GetLeftAndRightSelectedUI ( )

◆ GetOnClicked()

ScriptInvoker SCR_ButtonLegendComponent.GetOnClicked ( )

◆ GetOnMouseEnter()

ScriptInvoker SCR_ButtonLegendComponent.GetOnMouseEnter ( )

◆ GetOnMouseLeave()

ScriptInvoker SCR_ButtonLegendComponent.GetOnMouseLeave ( )

◆ GetText()

string SCR_ButtonLegendComponent.GetText ( )

◆ GetTextWidget()

TextWidget SCR_ButtonLegendComponent.GetTextWidget ( )

◆ HandlerAttached()

override void SCR_ButtonLegendComponent.HandlerAttached ( Widget  w)
protected

Implements SCR_WLibComponentBase.

◆ Hide()

void SCR_ButtonLegendComponent.Hide ( )

◆ IsActive()

bool SCR_ButtonLegendComponent.IsActive ( )

◆ OnClick()

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

Implements SCR_WLibComponentBase.

◆ OnFocus()

override bool SCR_ButtonLegendComponent.OnFocus ( Widget  w,
int  x,
int  y 
)

Implements SCR_WLibComponentBase.

◆ OnMouseEnter()

override bool SCR_ButtonLegendComponent.OnMouseEnter ( Widget  w,
int  x,
int  y 
)
protected

Implements SCR_WLibComponentBase.

◆ OnMouseLeave()

override bool SCR_ButtonLegendComponent.OnMouseLeave ( Widget  w,
Widget  enterW,
int  x,
int  y 
)
protected

◆ SetButtonId()

void SCR_ButtonLegendComponent.SetButtonId ( int  n)

◆ SetFocus()

void SCR_ButtonLegendComponent.SetFocus ( )

◆ SetLeftAndRightUIActivate()

void SCR_ButtonLegendComponent.SetLeftAndRightUIActivate ( bool  flag)

◆ SetOnHover()

void SCR_ButtonLegendComponent.SetOnHover ( bool  OnHover = true)

◆ SetText()

void SCR_ButtonLegendComponent.SetText ( string  text)

◆ Unhide()

void SCR_ButtonLegendComponent.Unhide ( )

Member Data Documentation

◆ m_bIsActive

bool SCR_ButtonLegendComponent.m_bIsActive
protected

◆ m_bLeftAndRightUI

bool SCR_ButtonLegendComponent.m_bLeftAndRightUI
protected

◆ m_ColorActive

ref Color SCR_ButtonLegendComponent.m_ColorActive
protected

◆ m_ColorBackgroundActive

ref Color SCR_ButtonLegendComponent.m_ColorBackgroundActive
protected

◆ m_ColorBackgroundInactive

ref Color SCR_ButtonLegendComponent.m_ColorBackgroundInactive
protected

◆ m_ColorInactive

ref Color SCR_ButtonLegendComponent.m_ColorInactive
protected

◆ m_ColorInactiveHovered

ref Color SCR_ButtonLegendComponent.m_ColorInactiveHovered
protected

◆ m_ibuttonId

int SCR_ButtonLegendComponent.m_ibuttonId
protected

◆ m_OnClicked

ref ScriptInvoker SCR_ButtonLegendComponent.m_OnClicked = new ScriptInvoker()
protected

◆ m_OnMouseEnter

ref ScriptInvoker SCR_ButtonLegendComponent.m_OnMouseEnter = new ScriptInvoker()
protected

◆ m_OnMouseLeave

ref ScriptInvoker SCR_ButtonLegendComponent.m_OnMouseLeave = new ScriptInvoker()
protected

◆ m_PagingArrow

ResourceName SCR_ButtonLegendComponent.m_PagingArrow
protected

◆ m_sSpecializationText

LocalizedString SCR_ButtonLegendComponent.m_sSpecializationText
protected

◆ m_StringBackgroundImageLegendButton

string SCR_ButtonLegendComponent.m_StringBackgroundImageLegendButton
protected

◆ m_StringCoreImageLegendButton

string SCR_ButtonLegendComponent.m_StringCoreImageLegendButton
protected

◆ m_StringNotSelectedImageLegendButton

string SCR_ButtonLegendComponent.m_StringNotSelectedImageLegendButton
protected

◆ m_StringSelectedImageLegendButton

string SCR_ButtonLegendComponent.m_StringSelectedImageLegendButton
protected

◆ m_TextureLegendButton

ResourceName SCR_ButtonLegendComponent.m_TextureLegendButton
protected

◆ m_wChangeSpLeft

ImageWidget SCR_ButtonLegendComponent.m_wChangeSpLeft
protected

◆ m_wChangeSpLeftLayout

Widget SCR_ButtonLegendComponent.m_wChangeSpLeftLayout
protected

◆ m_wChangeSpRight

ImageWidget SCR_ButtonLegendComponent.m_wChangeSpRight
protected

◆ m_wChangeSpRightLayout

Widget SCR_ButtonLegendComponent.m_wChangeSpRightLayout
protected

◆ m_wSpecializationBackgroundImage

ImageWidget SCR_ButtonLegendComponent.m_wSpecializationBackgroundImage
protected

◆ m_wSpecializationBorderImage

ImageWidget SCR_ButtonLegendComponent.m_wSpecializationBorderImage
protected

◆ m_wSpecializationCoreImage

ImageWidget SCR_ButtonLegendComponent.m_wSpecializationCoreImage
protected

◆ m_wSpecializationText

TextWidget SCR_ButtonLegendComponent.m_wSpecializationText
protected

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