OpenMW
Public Types | Public Member Functions | Public Attributes | Private Attributes
MWGui::MessageBoxManager Class Reference

#include <messagebox.hpp>

List of all members.

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
InteractiveMessageBoxmInterMessageBoxe
MessageBoxmStaticMessageBox
float mMessageBoxSpeed
int mLastButtonPressed

Member Typedef Documentation

typedef MyGUI::delegates::CMultiDelegate1<int> MWGui::MessageBoxManager::EventHandle_Int

Constructor & Destructor Documentation


Member Function Documentation

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)

Member Data Documentation


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