39 NWNWidget(gui, tag), _r(1.0f), _g(1.0f), _b(1.0f), _a(1.0f) {
66 float r,
float g,
float b,
float a,
float halign,
float valign) {
73 _caption->setPosition(x, y, z - 1.0);
81 _caption->setPosition(x, y, z - 1.0);
121 return _caption->getHorizontalAlign();
127 return _caption->getVerticalAlign();
135 _a = disabled ? (
_a * 0.6f) : (
_a / 0.6f);
A class holding an UTF-8 string.
void reset(PointerType o=0)
Resets the pointer with the new value.
PointerType get() const
Returns the plain pointer value.
#define FontMan
Shortcut for accessing the font manager.