#include <messagebox.hpp>
MWGui::MessageBoxManager::MessageBoxManager |
( |
float |
timePerChar | ) |
|
MWGui::MessageBoxManager::~MessageBoxManager |
( |
| ) |
|
void MWGui::MessageBoxManager::clear |
( |
| ) |
|
Remove all message boxes.
bool MWGui::MessageBoxManager::createInteractiveMessageBox |
( |
const std::string & |
message, |
|
|
const std::vector< std::string > & |
buttons |
|
) |
| |
void MWGui::MessageBoxManager::createMessageBox |
( |
const std::string & |
message, |
|
|
bool |
stat = false |
|
) |
| |
bool MWGui::MessageBoxManager::isInteractiveMessageBox |
( |
| ) |
|
void MWGui::MessageBoxManager::onButtonPressed |
( |
int |
button | ) |
|
|
inline |
void MWGui::MessageBoxManager::onFrame |
( |
float |
frameDuration | ) |
|
int MWGui::MessageBoxManager::readPressedButton |
( |
bool |
reset = true | ) |
|
- Parameters
-
reset | Reset the pressed button to -1 after reading it. |
bool MWGui::MessageBoxManager::removeMessageBox |
( |
MessageBox * |
msgbox | ) |
|
void MWGui::MessageBoxManager::removeStaticMessageBox |
( |
| ) |
|
int MWGui::MessageBoxManager::mLastButtonPressed |
|
private |
std::vector<MessageBox*> MWGui::MessageBoxManager::mMessageBoxes |
|
private |
float MWGui::MessageBoxManager::mMessageBoxSpeed |
|
private |
MessageBox* MWGui::MessageBoxManager::mStaticMessageBox |
|
private |
The documentation for this class was generated from the following files: