forked from teamnwah/openmw-tes3coop
Move eventDone out of WindowBase
This commit is contained in:
parent
271c921cf8
commit
b6635c7964
6 changed files with 40 additions and 5 deletions
|
@ -35,6 +35,11 @@ namespace MWGui
|
|||
*/
|
||||
EventHandle_Void eventBack;
|
||||
|
||||
/** Event : Dialog finished, OK button clicked.\n
|
||||
signature : void method()\n
|
||||
*/
|
||||
EventHandle_WindowBase eventDone;
|
||||
|
||||
protected:
|
||||
void onSelectBirth(MyGUI::ListBox* _sender, size_t _index);
|
||||
|
||||
|
|
|
@ -79,6 +79,11 @@ namespace MWGui
|
|||
*/
|
||||
EventHandle_Void eventBack;
|
||||
|
||||
/** Event : Dialog finished, OK button clicked.\n
|
||||
signature : void method()\n
|
||||
*/
|
||||
EventHandle_WindowBase eventDone;
|
||||
|
||||
protected:
|
||||
void onOkClicked(MyGUI::Widget* _sender);
|
||||
void onBackClicked(MyGUI::Widget* _sender);
|
||||
|
@ -109,6 +114,11 @@ namespace MWGui
|
|||
*/
|
||||
EventHandle_Void eventBack;
|
||||
|
||||
/** Event : Dialog finished, OK button clicked.\n
|
||||
signature : void method()\n
|
||||
*/
|
||||
EventHandle_WindowBase eventDone;
|
||||
|
||||
protected:
|
||||
void onSelectClass(MyGUI::ListBox* _sender, size_t _index);
|
||||
void onAccept(MyGUI::ListBox* _sender, size_t _index);
|
||||
|
@ -238,6 +248,11 @@ namespace MWGui
|
|||
std::string getTextInput() const { return mTextEdit->getCaption(); }
|
||||
void setTextInput(const std::string &text) { mTextEdit->setCaption(text); }
|
||||
|
||||
/** Event : Dialog finished, OK button clicked.\n
|
||||
signature : void method()\n
|
||||
*/
|
||||
EventHandle_WindowBase eventDone;
|
||||
|
||||
protected:
|
||||
void onOkClicked(MyGUI::Widget* _sender);
|
||||
|
||||
|
@ -268,6 +283,11 @@ namespace MWGui
|
|||
*/
|
||||
EventHandle_Void eventBack;
|
||||
|
||||
/** Event : Dialog finished, OK button clicked.\n
|
||||
signature : void method()\n
|
||||
*/
|
||||
EventHandle_WindowBase eventDone;
|
||||
|
||||
protected:
|
||||
void onOkClicked(MyGUI::Widget* _sender);
|
||||
void onBackClicked(MyGUI::Widget* _sender);
|
||||
|
|
|
@ -52,6 +52,11 @@ namespace MWGui
|
|||
*/
|
||||
EventHandle_Void eventBack;
|
||||
|
||||
/** Event : Dialog finished, OK button clicked.\n
|
||||
signature : void method()\n
|
||||
*/
|
||||
EventHandle_WindowBase eventDone;
|
||||
|
||||
void doRenderUpdate();
|
||||
|
||||
protected:
|
||||
|
|
|
@ -54,6 +54,11 @@ namespace MWGui
|
|||
*/
|
||||
EventHandle_Void eventBack;
|
||||
|
||||
/** Event : Dialog finished, OK button clicked.\n
|
||||
signature : void method()\n
|
||||
*/
|
||||
EventHandle_WindowBase eventDone;
|
||||
|
||||
EventHandle_Int eventActivateDialog;
|
||||
|
||||
protected:
|
||||
|
|
|
@ -22,6 +22,11 @@ namespace MWGui
|
|||
void setTextLabel(const std::string &label);
|
||||
virtual void open();
|
||||
|
||||
/** Event : Dialog finished, OK button clicked.\n
|
||||
signature : void method()\n
|
||||
*/
|
||||
EventHandle_WindowBase eventDone;
|
||||
|
||||
protected:
|
||||
void onOkClicked(MyGUI::Widget* _sender);
|
||||
void onTextAccepted(MyGUI::Edit* _sender);
|
||||
|
|
|
@ -32,11 +32,6 @@ namespace MWGui
|
|||
///Returns the visibility state of the window
|
||||
virtual bool isVisible();
|
||||
void center();
|
||||
|
||||
/** Event : Dialog finished, OK button clicked.\n
|
||||
signature : void method()\n
|
||||
*/
|
||||
EventHandle_WindowBase eventDone;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue