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

#include <countdialog.hpp>

List of all members.

Public Types

typedef
MyGUI::delegates::CMultiDelegate2
< MyGUI::Widget *, int > 
EventHandle_WidgetInt

Public Member Functions

 CountDialog ()
void open (const std::string &item, const std::string &message, const int maxCount)
void cancel ()

Public Attributes

EventHandle_WidgetInt eventOkClicked

Private Member Functions

void onCancelButtonClicked (MyGUI::Widget *_sender)
void onOkButtonClicked (MyGUI::Widget *_sender)
void onEditTextChange (MyGUI::EditBox *_sender)
void onSliderMoved (MyGUI::ScrollBar *_sender, size_t _position)
void onEnterKeyPressed (MyGUI::EditBox *_sender)

Private Attributes

MyGUI::ScrollBar * mSlider
MyGUI::EditBox * mItemEdit
MyGUI::TextBox * mItemText
MyGUI::TextBox * mLabelText
MyGUI::Button * mOkButton
MyGUI::Button * mCancelButton

Member Typedef Documentation

typedef MyGUI::delegates::CMultiDelegate2<MyGUI::Widget*, int> MWGui::CountDialog::EventHandle_WidgetInt

Constructor & Destructor Documentation


Member Function Documentation

void MWGui::CountDialog::onCancelButtonClicked ( MyGUI::Widget *  _sender) [private]
void MWGui::CountDialog::onEditTextChange ( MyGUI::EditBox *  _sender) [private]
void MWGui::CountDialog::onEnterKeyPressed ( MyGUI::EditBox *  _sender) [private]
void MWGui::CountDialog::onOkButtonClicked ( MyGUI::Widget *  _sender) [private]
void MWGui::CountDialog::onSliderMoved ( MyGUI::ScrollBar *  _sender,
size_t  _position 
) [private]
void MWGui::CountDialog::open ( const std::string &  item,
const std::string &  message,
const int  maxCount 
)

Member Data Documentation

Event : Ok button was clicked.
signature : void method(MyGUI::Widget* _sender, int _count)

MyGUI::Button* MWGui::CountDialog::mCancelButton [private]
MyGUI::EditBox* MWGui::CountDialog::mItemEdit [private]
MyGUI::TextBox* MWGui::CountDialog::mItemText [private]
MyGUI::TextBox* MWGui::CountDialog::mLabelText [private]
MyGUI::Button* MWGui::CountDialog::mOkButton [private]
MyGUI::ScrollBar* MWGui::CountDialog::mSlider [private]

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