(svn r23738) -Fix (r23731): forgot to sync the new window with the script API

This commit is contained in:
truebrain
2012-01-03 20:38:41 +00:00
parent 8344d3f01b
commit d3567c0ac3
4 changed files with 26 additions and 1 deletions

View File

@@ -194,6 +194,14 @@ public:
*/
WC_CONFIRM_POPUP_QUERY = ::WC_CONFIRM_POPUP_QUERY,
/**
* Popup with a set of buttons, designed to ask the user a question
* from a GameScript. %Window numbers:
* - uniqueid = #GoalQuestionWidgets
*/
WC_GOAL_QUESTION,
/**
* Saveload window; Window numbers:
@@ -1268,6 +1276,15 @@ public:
WID_GL_SCROLLBAR = ::WID_GL_SCROLLBAR, ///< Scrollbar of the panel.
};
/** Widgets of the #GoalQuestionWindow class. */
enum GoalQuestionWidgets {
WID_GQ_QUESTION = ::WID_GQ_QUESTION, ///< Question text.
WID_GQ_BUTTONS = ::WID_GQ_BUTTONS, ///< Buttons selection (between 1, 2 or 3).
WID_GQ_BUTTON_1 = ::WID_GQ_BUTTON_1, ///< First button.
WID_GQ_BUTTON_2 = ::WID_GQ_BUTTON_2, ///< Second button.
WID_GQ_BUTTON_3 = ::WID_GQ_BUTTON_3, ///< Third button.
};
/** Widgets of the #GraphLegendWindow class. */
enum GraphLegendWidgets {
WID_GL_BACKGROUND = ::WID_GL_BACKGROUND, ///< Background of the window.