lecui 1.0.0-alpha.20
lecui C++ user interface library
|
Strength level as a percentage. More...
#include <strength_bar.h>
Public Member Functions | |
bool | operator== (const strength_level ¶m) |
Check whether strength levels are equal. All properties are considered. More... | |
bool | operator!= (const strength_level ¶m) |
Check whether strength levels are NOT equal. All properties are considered. More... | |
Public Attributes | |
float | level = 0.f |
The upper limit of the level, e.g. 33.f for "low", 66.f for "medium" and 100.f for "high". | |
lecui::color | color |
The color to use for the level. | |
Strength level as a percentage.
bool liblec::lecui::widgets::strength_bar::strength_level::operator!= | ( | const strength_level & | param | ) |
Check whether strength levels are NOT equal. All properties are considered.
param | The strength level to compare to. |
bool liblec::lecui::widgets::strength_bar::strength_level::operator== | ( | const strength_level & | param | ) |
Check whether strength levels are equal. All properties are considered.
param | The strength level to compare to. |