ScummVM API documentation
MutationOfJB::Widget Class Referenceabstract
Inheritance diagram for MutationOfJB::Widget:
MutationOfJB::ButtonWidget MutationOfJB::ConversationWidget MutationOfJB::GameWidget MutationOfJB::ImageWidget MutationOfJB::InventoryWidget MutationOfJB::LabelWidget

Public Types

enum  : uint { DIRTY_NONE = 0, DIRTY_ALL = 0xFFFFFFFF }
 

Public Member Functions

 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

virtual void draw (Graphics::ManagedSurface &)=0
 

Protected Attributes

GuiScreen_gui
 
Common::Rect _area
 
int _id
 
bool _visible
 
bool _enabled
 
uint32 _dirtyBits
 

The documentation for this class was generated from the following file: