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

#include <class.hpp>

List of all members.

Public Types

typedef std::vector< std::string > ButtonList
typedef
MyGUI::delegates::CMultiDelegate1
< int > 
EventHandle_Int

Public Member Functions

 InfoBoxDialog ()
void setText (const std::string &str)
std::string getText () const
void setButtons (ButtonList &buttons)
virtual void open ()
int getChosenButton () const

Public Attributes

EventHandle_Int eventButtonSelected

Protected Member Functions

void onButtonClicked (MyGUI::Widget *_sender)

Private Member Functions

void fitToText (MyGUI::TextBox *widget)
void layoutVertically (MyGUI::Widget *widget, int margin)

Private Attributes

int mCurrentButton
MyGUI::Widget * mTextBox
MyGUI::TextBox * mText
MyGUI::Widget * mButtonBar
std::vector< MyGUI::Button * > mButtons

Member Typedef Documentation

typedef std::vector<std::string> MWGui::InfoBoxDialog::ButtonList
typedef MyGUI::delegates::CMultiDelegate1<int> MWGui::InfoBoxDialog::EventHandle_Int

Constructor & Destructor Documentation


Member Function Documentation

void MWGui::InfoBoxDialog::fitToText ( MyGUI::TextBox *  widget) [private]
std::string MWGui::InfoBoxDialog::getText ( ) const
void MWGui::InfoBoxDialog::layoutVertically ( MyGUI::Widget *  widget,
int  margin 
) [private]
void MWGui::InfoBoxDialog::onButtonClicked ( MyGUI::Widget *  _sender) [protected]
void MWGui::InfoBoxDialog::open ( ) [virtual]

Reimplemented from MWGui::WindowModal.

void MWGui::InfoBoxDialog::setText ( const std::string &  str)

Member Data Documentation

Event : Button was clicked.
signature : void method(int index)

MyGUI::Widget* MWGui::InfoBoxDialog::mButtonBar [private]
std::vector<MyGUI::Button*> MWGui::InfoBoxDialog::mButtons [private]
MyGUI::TextBox* MWGui::InfoBoxDialog::mText [private]
MyGUI::Widget* MWGui::InfoBoxDialog::mTextBox [private]

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