OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
MWGui::MessageBox Class Reference

#include <messagebox.hpp>

Inheritance diagram for MWGui::MessageBox:
Collaboration diagram for MWGui::MessageBox:

Public Member Functions

 MessageBox (MessageBoxManager &parMessageBoxManager, const std::string &message)
 
void setMessage (const std::string &message)
 
int getHeight ()
 
void update (int height)
 
- Public Member Functions inherited from MWGui::Layout
 Layout (const std::string &_layout, MyGUI::Widget *_parent=nullptr)
 
virtual ~Layout ()
 
MyGUI::Widget * getWidget (const std::string &_name)
 
template<typename T >
void getWidget (T *&_widget, const std::string &_name)
 
void setCoord (int x, int y, int w, int h)
 
virtual void setVisible (bool b)
 
void setText (const std::string &name, const std::string &caption)
 
void setTitle (const std::string &title)
 

Public Attributes

float mCurrentTime
 
float mMaxTime
 
- Public Attributes inherited from MWGui::Layout
MyGUI::Widget * mMainWidget
 

Protected Attributes

MessageBoxManagermMessageBoxManager
 
const std::string & mMessage
 
MyGUI::EditBox * mMessageWidget
 
int mBottomPadding
 
int mNextBoxPadding
 
- Protected Attributes inherited from MWGui::Layout
std::string mPrefix
 
std::string mLayoutName
 
MyGUI::VectorWidgetPtr mListWindowRoot
 

Constructor & Destructor Documentation

MWGui::MessageBox::MessageBox ( MessageBoxManager parMessageBoxManager,
const std::string &  message 
)

Here is the call graph for this function:

Member Function Documentation

int MWGui::MessageBox::getHeight ( )
void MWGui::MessageBox::setMessage ( const std::string &  message)
void MWGui::MessageBox::update ( int  height)

Member Data Documentation

int MWGui::MessageBox::mBottomPadding
protected
float MWGui::MessageBox::mCurrentTime
float MWGui::MessageBox::mMaxTime
const std::string& MWGui::MessageBox::mMessage
protected
MessageBoxManager& MWGui::MessageBox::mMessageBoxManager
protected
MyGUI::EditBox* MWGui::MessageBox::mMessageWidget
protected
int MWGui::MessageBox::mNextBoxPadding
protected

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