Class LemonUI::TimerBars::TimerBarProgress
ClassList > LemonUI > TimerBars > TimerBarProgress
Represents a Timer Bar that shows the progress of something.
Inherits the following classes: LemonUI::TimerBars::TimerBar
Public Properties
| Type | Name |
|---|---|
| property Color | BackgroundColor The Background color of the Progress bar. |
| property Color | ForegroundColor The Foreground color of the Progress bar. |
| property float | Progress The progress of the bar. |
Public Properties inherited from LemonUI::TimerBars::TimerBar
See LemonUI::TimerBars::TimerBar
| Type | Name |
|---|---|
| property Color | Color The color of the information text. |
| property string?? | Info The information shown on the right. |
| property float | InfoWidth The Width of the information text. |
| property string?? | Title The title of the bar, shown on the left. |
Public Functions
| Type | Name |
|---|---|
| virtual override void | Draw () Draws the TimerBar . |
| virtual override void | Recalculate (PointF pos) Recalculates the position of the timer bar elements based on the location of it on the screen. |
| TimerBarProgress (string title) Creates a new TimerBarProgress with the specified title. |
Public Functions inherited from LemonUI::TimerBars::TimerBar
See LemonUI::TimerBars::TimerBar
| Type | Name |
|---|---|
| virtual void | Draw () Draws the timer bar information. |
| virtual void | Recalculate (PointF pos) Recalculates the position of the timer bar elements based on the location of it on the screen. |
| TimerBar (string title, string info) Creates a new TimerBar with the specified Title and Value. |
Public Functions inherited from LemonUI::IDrawable
| Type | Name |
|---|---|
| void | Draw () Draws the item on the screen. |
Public Properties Documentation
property BackgroundColor
Color LemonUI.TimerBars.TimerBarProgress.BackgroundColor;
property ForegroundColor
Color LemonUI.TimerBars.TimerBarProgress.ForegroundColor;
property Progress
float LemonUI.TimerBars.TimerBarProgress.Progress;
Public Functions Documentation
function Draw
inline virtual override void LemonUI::TimerBars::TimerBarProgress::Draw ()
Implements LemonUI::TimerBars::TimerBar::Draw
function Recalculate
Recalculates the position of the timer bar elements based on the location of it on the screen.
inline virtual override void LemonUI::TimerBars::TimerBarProgress::Recalculate (
PointF pos
)
Parameters:
posThe Top Left position of the Timer Bar.
Implements LemonUI::TimerBars::TimerBar::Recalculate
function TimerBarProgress
Creates a new TimerBarProgress with the specified title.
inline LemonUI::TimerBars::TimerBarProgress::TimerBarProgress (
string title
)
Parameters:
titleThe title of the bar.
The documentation for this class was generated from the following file repos/LemonUI/LemonUI/TimerBars/TimerBarProgress.cs