Logo Search packages:      
Sourcecode: scummvm version File versions

Public Member Functions | Protected Member Functions | Protected Attributes

GUI::MessageDialog Class Reference

#include <message.h>

Inheritance diagram for GUI::MessageDialog:
Inheritance graph
Collaboration diagram for GUI::MessageDialog:
Collaboration graph

List of all members.

Public Member Functions

virtual int16 getAbsX () const
virtual int16 getAbsY () const
virtual int16 getChildX () const
virtual int16 getChildY () const
WidgetgetFocusWidget ()
virtual uint16 getHeight () const
virtual uint16 getWidth () const
void handleCommand (CommandSender *sender, uint32 cmd, uint32 data)
bool isVisible () const
 MessageDialog (const Common::String &message, const char *defaultButton="OK", const char *altButton=0)
virtual void reflowLayout ()
void releaseFocus ()
virtual int runModal ()
void setFocusWidget (Widget *widget)

Protected Member Functions

virtual void close ()
virtual void draw ()
virtual void drawDialog ()
WidgetfindWidget (int x, int y)
WidgetfindWidget (const char *name)
int getResult () const
virtual void handleKeyDown (Common::KeyState state)
virtual void handleKeyUp (Common::KeyState state)
virtual void handleMouseDown (int x, int y, int button, int clickCount)
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 ()
void removeWidget (Widget *widget)
void setResult (int result)

Protected Attributes

ThemeEngine::DialogBackground _backgroundType
uint16 _h
const Common::String _name
bool _visible
uint16 _w
int16 _x
int16 _y

Detailed Description

Simple message dialog ("alert box"): presents a text message in a dialog with up to two buttons.

Definition at line 44 of file message.h.

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

Generated by  Doxygen 1.6.0   Back to index