ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

GUI::MessageDialog Class Reference

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

#include <message.h>

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

List of all members.

Public Member Functions

 MessageDialog (const Common::String &message, const char *defaultButton="OK", const char *altButton=nullptr, Graphics::TextAlign alignment=Graphics::kTextAlignCenter)
void handleCommand (CommandSender *sender, uint32 cmd, uint32 data) override

Detailed Description

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

Definition at line 42 of file message.h.


Constructor & Destructor Documentation

GUI::MessageDialog::MessageDialog ( const Common::String message,
const char *  defaultButton = "OK",
const char *  altButton = nullptr,
Graphics::TextAlign  alignment = Graphics::kTextAlignCenter 
)

Definition at line 41 of file message.cpp.


Member Function Documentation

void GUI::MessageDialog::handleCommand ( CommandSender sender,
uint32  cmd,
uint32  data 
) [override, virtual]

Reimplemented from GUI::Dialog.

Definition at line 100 of file message.cpp.


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


Generated on Sat May 30 2020 05:03:22 for ResidualVM by doxygen 1.7.1
curved edge   curved edge