Public Member Functions | |
LabelWidget (GuiScreen &gui, const Common::Rect &area) | |
uint8 | getBackgroundColor () const |
void | setBackgroundColor (uint8 color) |
const Common::String & | getText () const |
void | setText (const Common::String &text) |
Public Member Functions inherited from MutationOfJB::Widget | |
Widget (GuiScreen &gui, const Common::Rect &area) | |
int | getId () const |
void | setId (int id) |
bool | isVisible () const |
void | setVisible (bool visible) |
bool | isEnabled () const |
void | setEnabled (bool enabled) |
Common::Rect | getArea () const |
void | setArea (const Common::Rect &area) |
bool | isDirty () const |
void | markDirty (uint32 dirtyBits=DIRTY_ALL) |
void | update (Graphics::ManagedSurface &) |
virtual void | handleEvent (const Common::Event &) |
Protected Member Functions | |
void | draw (Graphics::ManagedSurface &) override |
Additional Inherited Members | |
Public Types inherited from MutationOfJB::Widget | |
enum | : uint { DIRTY_NONE = 0, DIRTY_ALL = 0xFFFFFFFF } |
Protected Attributes inherited from MutationOfJB::Widget | |
GuiScreen & | _gui |
Common::Rect | _area |
int | _id |
bool | _visible |
bool | _enabled |
uint32 | _dirtyBits |