Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_InventoryProgressBar Class Reference
Inheritance diagram for SCR_InventoryProgressBar:
ScriptedWidgetComponent

Protected 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 ()
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
const float LOW_TRESHOLD = 0.3
const float MID_DIFF = 0.05
const float HIGH_TRESHOLD = 0.8

Detailed Description

Definition at line 1 of file SCR_InventoryProgressBar.c.

Member Function Documentation

◆ FlipColors()

void SCR_InventoryProgressBar::FlipColors ( )
inlineprotected

Definition at line 111 of file SCR_InventoryProgressBar.c.

◆ HandlerAttached()

override void SCR_InventoryProgressBar::HandlerAttached ( Widget w)
inlineprotected

Definition at line 36 of file SCR_InventoryProgressBar.c.

◆ SetCurrentProgress()

void SCR_InventoryProgressBar::SetCurrentProgress ( float progress)
inlineprotected

Definition at line 86 of file SCR_InventoryProgressBar.c.

◆ SetCurrentProgressPreview()

void SCR_InventoryProgressBar::SetCurrentProgressPreview ( float progress)
inlineprotected

Definition at line 95 of file SCR_InventoryProgressBar.c.

◆ SetPreviewColor()

void SCR_InventoryProgressBar::SetPreviewColor ( bool enabled)
inlineprotected

Definition at line 103 of file SCR_InventoryProgressBar.c.

◆ SetProgressRange()

void SCR_InventoryProgressBar::SetProgressRange ( float min,
float max )
inlineprotected

Definition at line 72 of file SCR_InventoryProgressBar.c.

◆ UpdateProgressBar()

void SCR_InventoryProgressBar::UpdateProgressBar ( )
inlineprotected

Definition at line 124 of file SCR_InventoryProgressBar.c.

Member Data Documentation

◆ HIGH_TRESHOLD

const float SCR_InventoryProgressBar::HIGH_TRESHOLD = 0.8
protected

Definition at line 33 of file SCR_InventoryProgressBar.c.

◆ LOW_TRESHOLD

const float SCR_InventoryProgressBar::LOW_TRESHOLD = 0.3
protected

Definition at line 31 of file SCR_InventoryProgressBar.c.

◆ m_bColorsFlipped

bool SCR_InventoryProgressBar::m_bColorsFlipped
protected

Definition at line 29 of file SCR_InventoryProgressBar.c.

◆ m_bFlipColors

bool SCR_InventoryProgressBar::m_bFlipColors
protected

Definition at line 19 of file SCR_InventoryProgressBar.c.

◆ m_ColorHigh

ref Color SCR_InventoryProgressBar::m_ColorHigh
protected

Definition at line 10 of file SCR_InventoryProgressBar.c.

◆ m_ColorLow

ref Color SCR_InventoryProgressBar::m_ColorLow
protected

Definition at line 4 of file SCR_InventoryProgressBar.c.

◆ m_ColorMiddle

ref Color SCR_InventoryProgressBar::m_ColorMiddle
protected

Definition at line 7 of file SCR_InventoryProgressBar.c.

◆ m_ColorPreviewNegative

ref Color SCR_InventoryProgressBar::m_ColorPreviewNegative
protected

Definition at line 16 of file SCR_InventoryProgressBar.c.

◆ m_ColorPreviewPositive

ref Color SCR_InventoryProgressBar::m_ColorPreviewPositive
protected

Definition at line 13 of file SCR_InventoryProgressBar.c.

◆ m_sProgressBarName

string SCR_InventoryProgressBar::m_sProgressBarName
protected

Definition at line 22 of file SCR_InventoryProgressBar.c.

◆ m_sProgressBarNamePreview

string SCR_InventoryProgressBar::m_sProgressBarNamePreview
protected

Definition at line 25 of file SCR_InventoryProgressBar.c.

◆ m_wProgressBar

ProgressBarWidget SCR_InventoryProgressBar::m_wProgressBar
protected

Definition at line 27 of file SCR_InventoryProgressBar.c.

◆ m_wProgressBarPreview

ProgressBarWidget SCR_InventoryProgressBar::m_wProgressBarPreview
protected

Definition at line 28 of file SCR_InventoryProgressBar.c.

◆ MID_DIFF

const float SCR_InventoryProgressBar::MID_DIFF = 0.05
protected

Definition at line 32 of file SCR_InventoryProgressBar.c.


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