From ecb725b34b1b2772c67270a07d7b416c0752e7ce Mon Sep 17 00:00:00 2001 From: truebrain Date: Tue, 3 Jan 2012 20:38:41 +0000 Subject: (svn r23738) -Fix (r23731): forgot to sync the new window with the script API --- src/script/api/script_window.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/script/api/script_window.hpp') diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp index e2e1ae319..342a243d1 100644 --- a/src/script/api/script_window.hpp +++ b/src/script/api/script_window.hpp @@ -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. -- cgit v1.2.3-54-g00ecf