DOSBox-X
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Protected Attributes
GUI::MessageBox2 Class Reference

A message box with a single "Close" button. More...

#include <gui_tk.h>

Inheritance diagram for GUI::MessageBox2:
GUI::ToplevelWindow GUI::BorderedWindow GUI::ActionEventSource_Callback GUI::Window GUI::Refcount HelpWindow

List of all members.

Public Member Functions

template<typename STR >
 MessageBox2 (Screen *parent, int x, int y, int width, const STR title, const STR text)
 Create a new message box.
template<typename STR >
void setText (const STR text)
 Set a new text. Size of the box is adjusted accordingly.
virtual bool keyDown (const GUI::Key &key)
 Key was pressed. Returns true if event was handled.
virtual bool keyUp (const GUI::Key &key)
 Key was released. Returns true if event was handled.

Protected Attributes

Labelmessage
Buttonclose
WindowInWindowwiw

Detailed Description

A message box with a single "Close" button.

Definition at line 2549 of file gui_tk.h.


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