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

Public Member Functions

ScriptInvoker GetOnClicked ()
 
void Activate (bool animate=true)
 
void Deactivate (bool animate=true)
 
void Hide ()
 
void Unhide ()
 
void SetOnHover (bool OnHover=true)
 
ScriptInvoker GetOnMouseEnter ()
 
ScriptInvoker GetOnMouseLeave ()
 
void SetTitle (string text)
 
void SetValue (float num)
 
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

RichTextWidget m_wSpecializationTitle
 
RichTextWidget m_wSpecializationValue
 
SCR_ProgressBarWithInactiveColor m_SpecializationBar
 
int m_ibuttonId
 
bool m_bIsActive
 
ref Color m_ColorInactive
 
ref Color m_ColorInactiveHovered
 
ref Color m_ColorActive
 
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
 

Static Protected Attributes

const float m_fMinValue = 0
 
const float m_fMaxValue = 100
 

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_ButtonSpecializationProgressComponent.Activate ( bool  animate = true)

◆ Deactivate()

void SCR_ButtonSpecializationProgressComponent.Deactivate ( bool  animate = true)

◆ GetButtonId()

int SCR_ButtonSpecializationProgressComponent.GetButtonId ( )

◆ GetOnClicked()

ScriptInvoker SCR_ButtonSpecializationProgressComponent.GetOnClicked ( )

◆ GetOnMouseEnter()

ScriptInvoker SCR_ButtonSpecializationProgressComponent.GetOnMouseEnter ( )

◆ GetOnMouseLeave()

ScriptInvoker SCR_ButtonSpecializationProgressComponent.GetOnMouseLeave ( )

◆ HandlerAttached()

override void SCR_ButtonSpecializationProgressComponent.HandlerAttached ( Widget  w)
protected

Implements SCR_WLibComponentBase.

◆ Hide()

void SCR_ButtonSpecializationProgressComponent.Hide ( )

◆ OnClick()

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

Implements SCR_WLibComponentBase.

◆ OnMouseEnter()

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

Implements SCR_WLibComponentBase.

◆ OnMouseLeave()

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

◆ SetButtonId()

void SCR_ButtonSpecializationProgressComponent.SetButtonId ( int  n)

◆ SetFocus()

void SCR_ButtonSpecializationProgressComponent.SetFocus ( )

◆ SetOnHover()

void SCR_ButtonSpecializationProgressComponent.SetOnHover ( bool  OnHover = true)

◆ SetTitle()

void SCR_ButtonSpecializationProgressComponent.SetTitle ( string  text)

◆ SetValue()

void SCR_ButtonSpecializationProgressComponent.SetValue ( float  num)

◆ Unhide()

void SCR_ButtonSpecializationProgressComponent.Unhide ( )

Member Data Documentation

◆ m_bIsActive

bool SCR_ButtonSpecializationProgressComponent.m_bIsActive
protected

◆ m_ColorActive

ref Color SCR_ButtonSpecializationProgressComponent.m_ColorActive
protected

◆ m_ColorInactive

ref Color SCR_ButtonSpecializationProgressComponent.m_ColorInactive
protected

◆ m_ColorInactiveHovered

ref Color SCR_ButtonSpecializationProgressComponent.m_ColorInactiveHovered
protected

◆ m_fMaxValue

const float SCR_ButtonSpecializationProgressComponent.m_fMaxValue = 100
staticprotected

◆ m_fMinValue

const float SCR_ButtonSpecializationProgressComponent.m_fMinValue = 0
staticprotected

◆ m_ibuttonId

int SCR_ButtonSpecializationProgressComponent.m_ibuttonId
protected

◆ m_OnClicked

ref ScriptInvoker SCR_ButtonSpecializationProgressComponent.m_OnClicked = new ScriptInvoker()
protected

◆ m_OnMouseEnter

ref ScriptInvoker SCR_ButtonSpecializationProgressComponent.m_OnMouseEnter = new ScriptInvoker()
protected

◆ m_OnMouseLeave

ref ScriptInvoker SCR_ButtonSpecializationProgressComponent.m_OnMouseLeave = new ScriptInvoker()
protected

◆ m_SpecializationBar

SCR_ProgressBarWithInactiveColor SCR_ButtonSpecializationProgressComponent.m_SpecializationBar
protected

◆ m_wSpecializationTitle

RichTextWidget SCR_ButtonSpecializationProgressComponent.m_wSpecializationTitle
protected

◆ m_wSpecializationValue

RichTextWidget SCR_ButtonSpecializationProgressComponent.m_wSpecializationValue
protected

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