|
OpenMW
|
#include <messagebox.hpp>
Public Types | |
| typedef MyGUI::delegates::CMultiDelegate1 < int > | EventHandle_Int |
Public Member Functions | |
| MessageBoxManager () | |
| ~MessageBoxManager () | |
| void | onFrame (float frameDuration) |
| void | createMessageBox (const std::string &message, bool stat=false) |
| void | removeStaticMessageBox () |
| bool | createInteractiveMessageBox (const std::string &message, const std::vector< std::string > &buttons) |
| bool | isInteractiveMessageBox () |
| bool | removeMessageBox (MessageBox *msgbox) |
| void | setMessageBoxSpeed (int speed) |
| void | okayPressed () |
| int | readPressedButton () |
| void | onButtonPressed (int button) |
Public Attributes | |
| EventHandle_Int | eventButtonPressed |
Private Attributes | |
| std::vector< MessageBox * > | mMessageBoxes |
| InteractiveMessageBox * | mInterMessageBoxe |
| MessageBox * | mStaticMessageBox |
| float | mMessageBoxSpeed |
| int | mLastButtonPressed |
| typedef MyGUI::delegates::CMultiDelegate1<int> MWGui::MessageBoxManager::EventHandle_Int |
| 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 |
||
| ) |
| void MWGui::MessageBoxManager::onButtonPressed | ( | int | button | ) | [inline] |
| void MWGui::MessageBoxManager::onFrame | ( | float | frameDuration | ) |
| bool MWGui::MessageBoxManager::removeMessageBox | ( | MessageBox * | msgbox | ) |
| void MWGui::MessageBoxManager::setMessageBoxSpeed | ( | int | speed | ) |
int MWGui::MessageBoxManager::mLastButtonPressed [private] |
std::vector<MessageBox*> MWGui::MessageBoxManager::mMessageBoxes [private] |
float MWGui::MessageBoxManager::mMessageBoxSpeed [private] |
1.7.6.1