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

Public Member Functions

override void HandlerAttached (Widget w)
 
void SetProgressRange (float min, float max)
 
void SetCurrentProgress (float progress)
 
void SetCurrentProgressPreview (float progress)
 
void SetPreviewColor (bool enabled)
 
void FlipColors ()
 

Protected Member Functions

void UpdateProgressBar ()
 

Protected Attributes

ref Color m_ColorLow
 
ref Color m_ColorMiddle
 
ref Color m_ColorHigh
 
ref Color m_ColorPreviewPositive
 
ref Color m_ColorPreviewNegative
 
bool m_bFlipColors
 
string m_sProgressBarName
 
string m_sProgressBarNamePreview
 
ProgressBarWidget m_wProgressBar
 
ProgressBarWidget m_wProgressBarPreview
 
bool m_bColorsFlipped
 

Static Protected Attributes

const float LOW_TRESHOLD = 0.3
 
const float MID_DIFF = 0.05
 
const float HIGH_TRESHOLD = 0.8
 

Member Function Documentation

◆ FlipColors()

void SCR_InventoryProgressBar.FlipColors ( )

◆ HandlerAttached()

override void SCR_InventoryProgressBar.HandlerAttached ( Widget  w)

◆ SetCurrentProgress()

void SCR_InventoryProgressBar.SetCurrentProgress ( float  progress)

◆ SetCurrentProgressPreview()

void SCR_InventoryProgressBar.SetCurrentProgressPreview ( float  progress)

◆ SetPreviewColor()

void SCR_InventoryProgressBar.SetPreviewColor ( bool  enabled)

◆ SetProgressRange()

void SCR_InventoryProgressBar.SetProgressRange ( float  min,
float  max 
)

◆ UpdateProgressBar()

void SCR_InventoryProgressBar.UpdateProgressBar ( )
protected

Member Data Documentation

◆ HIGH_TRESHOLD

const float SCR_InventoryProgressBar.HIGH_TRESHOLD = 0.8
staticprotected

◆ LOW_TRESHOLD

const float SCR_InventoryProgressBar.LOW_TRESHOLD = 0.3
staticprotected

◆ m_bColorsFlipped

bool SCR_InventoryProgressBar.m_bColorsFlipped
protected

◆ m_bFlipColors

bool SCR_InventoryProgressBar.m_bFlipColors
protected

◆ m_ColorHigh

ref Color SCR_InventoryProgressBar.m_ColorHigh
protected

◆ m_ColorLow

ref Color SCR_InventoryProgressBar.m_ColorLow
protected

◆ m_ColorMiddle

ref Color SCR_InventoryProgressBar.m_ColorMiddle
protected

◆ m_ColorPreviewNegative

ref Color SCR_InventoryProgressBar.m_ColorPreviewNegative
protected

◆ m_ColorPreviewPositive

ref Color SCR_InventoryProgressBar.m_ColorPreviewPositive
protected

◆ m_sProgressBarName

string SCR_InventoryProgressBar.m_sProgressBarName
protected

◆ m_sProgressBarNamePreview

string SCR_InventoryProgressBar.m_sProgressBarNamePreview
protected

◆ m_wProgressBar

ProgressBarWidget SCR_InventoryProgressBar.m_wProgressBar
protected

◆ m_wProgressBarPreview

ProgressBarWidget SCR_InventoryProgressBar.m_wProgressBarPreview
protected

◆ MID_DIFF

const float SCR_InventoryProgressBar.MID_DIFF = 0.05
staticprotected

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