Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

Scumm::PauseDialog Class Reference

#include <dialogs.h>

Inheritance diagram for Scumm::PauseDialog:

Scumm::InfoDialog

List of all members.


Detailed Description

The pause dialog, visible whenever the user activates pause mode. Goes away uon any key or mouse button press.

Definition at line 189 of file dialogs.h.


Public Member Functions

virtual int16 getAbsX () const
virtual int16 getAbsY () const
virtual int16 getChildX () const
virtual int16 getChildY () const
virtual uint16 getHeight () const
virtual uint16 getWidth () const
virtual void handleKeyDown (Common::KeyState state)
virtual void handleMouseDown (int x, int y, int button, int clickCount)
bool isVisible () const
 PauseDialog (ScummEngine *scumm, int res)
virtual void reflowLayout ()
void releaseFocus ()
virtual int runModal ()
void setInfoText (const String &message)

Protected Types

typedef Common::String String

Protected Member Functions

ButtonWidget * addButton (GuiObject *boss, int x, int y, const Common::String &label, uint32 cmd, char hotkey)
virtual void close ()
bool dimsInactive ()
virtual void draw ()
virtual void drawDialog ()
Widget * findWidget (const char *name)
Widget * findWidget (int x, int y)
uint32 getMillis ()
int getResult () const
virtual void handleCommand (CommandSender *sender, uint32 cmd, uint32 data)
virtual void handleKeyUp (Common::KeyState state)
virtual void handleMouseMoved (int x, int y, int button)
virtual void handleMouseUp (int x, int y, int button, int clickCount)
virtual void handleMouseWheel (int x, int y, int direction)
virtual void handleTickle ()
virtual void open ()
const String queryResString (int stringno)
void removeWidget (Widget *widget)
void setResult (int result)

Protected Attributes

Widget * _dragWidget
uint16 _drawingHints
Widget * _firstWidget
Widget * _focusedWidget
uint16 _h
String _message
Widget * _mouseWidget
Common::String _name
GUI::StaticTextWidget * _text
bool _visible
ScummEngine_vm
uint16 _w
int16 _x
int16 _y

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

Generated by  Doxygen 1.6.0   Back to index