ScummVM API documentation
Graphics::MacDialog Class Reference

Public Member Functions

 MacDialog (ManagedSurface *screen, MacWindowManager *wm, int width, MacText *mactext, int maxTextWidth, MacDialogButtonArray *buttons, uint defaultButton)
 
int run ()
 
virtual bool processEvent (const Common::Event &event)
 
virtual void paint ()
 
void blit ()
 
void mouseMove (int x, int y)
 
void mouseClick (int x, int y)
 
int mouseRaise (int x, int y)
 
int matchButton (int x, int y)
 

Public Attributes

int _pressedButton
 
bool _needsRedraw
 

Protected Attributes

ManagedSurface_screen
 
MacWindowManager_wm
 
ManagedSurface_tempSurface
 
Common::Rect _bbox
 
Common::Rect _r
 
MacText_mactext
 
int _maxTextWidth
 
const Font_font
 
MacDialogButtonArray_buttons
 
uint _defaultButton
 
bool _mouseOverPressedButton
 
int _mouseOverButton
 

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