#include <StatusBar.hpp>
◆ StatusBar() [1/2]
◆ StatusBar() [2/2]
◆ ~StatusBar()
| StatusBar::~StatusBar |
( |
| ) |
|
|
default |
◆ at()
| Rgb & StatusBar::at |
( |
int |
x | ) |
|
Return pixel at given position.
- Parameters
-
- Returns
- Rgb& Reference to pixel at position x
◆ barva()
| Rgb StatusBar::barva |
( |
| ) |
const |
|
inline |
Vrátí aktuální barvu stavového řádku.
- Returns
- Rgb aktuální barva stavového řádku
◆ clear()
| void StatusBar::clear |
( |
| ) |
|
◆ color()
| Rgb StatusBar::color |
( |
| ) |
const |
Returns current color of status bar.
- Returns
- Rgb current status bar color
◆ nastavBarvu()
| void StatusBar::nastavBarvu |
( |
Rgb |
barva | ) |
|
|
inline |
Nastaví barvu stavové řádky.
- Parameters
-
◆ nastavStav()
| void StatusBar::nastavStav |
( |
int |
stav | ) |
|
|
inline |
Nastaví stav.
- Parameters
-
| stav | ID stavu/dokončený progress |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator[]()
| Rgb & StatusBar::operator[] |
( |
int |
i_index | ) |
|
◆ pozice()
| Rgb & StatusBar::pozice |
( |
int |
x | ) |
|
|
inline |
Vrátí pixel na dané pozici.
- Parameters
-
- Returns
- Rgb& Reference na požadovaný pixel
◆ setColor()
| void StatusBar::setColor |
( |
Rgb |
color | ) |
|
Set the color of status bar.
- Parameters
-
◆ setState()
| void StatusBar::setState |
( |
int |
state | ) |
|
Set progress.
- Parameters
-
| state | ID of state to set/progress made |
◆ show()
| void StatusBar::show |
( |
int |
intensity = 255 | ) |
|
Show current frame/state.
- Parameters
-
| intensity | [0-255] maximal intenzity |
◆ state()
| int StatusBar::state |
( |
| ) |
const |
Returns current state.
- Returns
- int Current state
◆ stav()
| int StatusBar::stav |
( |
| ) |
const |
|
inline |
Vrátí aktuálně nastavený stav.
- Returns
- int aktuální stav
◆ ukaz()
| void StatusBar::ukaz |
( |
int |
intenzita = 255 | ) |
|
|
inline |
Vykreslí aktuální snímek/stav.
- Parameters
-
| intenzita | [0-255] maximální intenzita na jejíž hodnotu se barvy uprav |
◆ vycisti()
| void StatusBar::vycisti |
( |
| ) |
|
|
inline |
◆ Logic
The documentation for this class was generated from the following files: