ScummVM API documentation
MutationOfJB::GameWidget Class Reference
Inheritance diagram for MutationOfJB::GameWidget:
MutationOfJB::Widget

Public Types

enum  { GAME_NORMAL_AREA_WIDTH = 320, GAME_NORMAL_AREA_HEIGHT = 139, GAME_FULL_AREA_WIDTH = 320, GAME_FULL_AREA_HEIGHT = 200 }
 
enum  DirtyFlags { DIRTY_AFTER_SCENE_CHANGE = 1 << 1, DIRTY_MAP_SELECTION = 1 << 2 }
 
- Public Types inherited from MutationOfJB::Widget
enum  : uint { DIRTY_NONE = 0, DIRTY_ALL = 0xFFFFFFFF }
 

Public Member Functions

 GameWidget (GuiScreen &gui)
 
void setCallback (GameWidgetCallback *callback)
 
void handleEvent (const Common::Event &) override
 
void clearState ()
 
- 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 &)
 

Protected Member Functions

void draw (Graphics::ManagedSurface &) override
 

Additional Inherited Members

- Protected Attributes inherited from MutationOfJB::Widget
GuiScreen_gui
 
Common::Rect _area
 
int _id
 
bool _visible
 
bool _enabled
 
uint32 _dirtyBits
 

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