OpenMW
|
#include <countdialog.hpp>
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 |
typedef MyGUI::delegates::CMultiDelegate2<MyGUI::Widget*, int> MWGui::CountDialog::EventHandle_WidgetInt |
void MWGui::CountDialog::cancel | ( | ) |
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 | ||
) |
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] |