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: