Mana
|
#include <label.h>
Public Member Functions | |
Label () | |
Label (const std::string &caption) | |
Constructor. | |
void | setOutlineColor (std::optional< gcn::Color > color) |
Sets the color of the outline. | |
void | setShadowColor (std::optional< gcn::Color > color) |
Sets the color of the shadow. | |
void | draw (gcn::Graphics *graphics) override |
Draws the label. | |
Private Attributes | |
std::optional< gcn::Color > | mOutlineColor |
std::optional< gcn::Color > | mShadowColor |
Label widget.
Same as the Guichan label but modified to use the palette system and support outlines and shadows.
Label::Label | ( | const std::string & | caption | ) |
|
override |
|
inline |
|
inline |