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

Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

Scumm::InfoDialog Class Reference

#include <dialogs.h>

Inheritance diagram for Scumm::InfoDialog:
Inheritance graph
[legend]
Collaboration diagram for Scumm::InfoDialog:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual int16 getAbsX () const
virtual int16 getAbsY () const
virtual int16 getChildX () const
virtual int16 getChildY () const
Widget * getFocusWidget ()
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)
 InfoDialog (ScummEngine *scumm, const String &message)
 InfoDialog (ScummEngine *scumm, int res)
bool isVisible () const
virtual void reflowLayout ()
void releaseFocus ()
virtual int runModal ()
void setFocusWidget (Widget *widget)
void setInfoText (const String &message)

Protected Types

typedef Common::String String

Protected Member Functions

virtual void close ()
virtual void draw ()
virtual void drawDialog ()
Widget * findWidget (int x, int y)
Widget * findWidget (const char *name)
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

ThemeEngine::DialogBackground _backgroundType
Widget * _dragWidget
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

Detailed Description

A dialog which displays an arbitrary message to the user and returns ther users reply as its result value. More specifically, it returns the ASCII code of the key used to close the dialog (0 if a mouse click closed the dialog).

Definition at line 160 of file dialogs.h.


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

Generated by  Doxygen 1.6.0   Back to index