Public Member Functions | |
ImageWidget (GuiScreen &gui, const Common::Rect &area, const Graphics::Surface &image) | |
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 &surface) 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 |