Changeset - r22845:8da7b47e9559
[Not reviewed]
master
0 2 0
Joan Josep - 6 years ago 2018-04-30 11:25:11
juanjo.ng.83@gmail.com
Fix #6090: And (svn r27822). Run scripts for widgets. (#6765)

Fix 19f5a6cbb0, Fix 19d56a33e8: Run scripts to update GS for new widgets (#6765)
2 files changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/script/api/game/game_window.hpp.sq
Show inline comments
 
@@ -506,174 +506,177 @@ void SQGSWindow_Register(Squirrel *engin
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GQ_CAPTION,                            "WID_GQ_CAPTION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GQ_QUESTION,                           "WID_GQ_QUESTION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GQ_BUTTONS,                            "WID_GQ_BUTTONS");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GQ_BUTTON_1,                           "WID_GQ_BUTTON_1");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GQ_BUTTON_2,                           "WID_GQ_BUTTON_2");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GQ_BUTTON_3,                           "WID_GQ_BUTTON_3");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_BACKGROUND,                         "WID_GL_BACKGROUND");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_FIRST_COMPANY,                      "WID_GL_FIRST_COMPANY");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_LAST_COMPANY,                       "WID_GL_LAST_COMPANY");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CV_KEY_BUTTON,                         "WID_CV_KEY_BUTTON");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CV_BACKGROUND,                         "WID_CV_BACKGROUND");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CV_GRAPH,                              "WID_CV_GRAPH");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CV_RESIZE,                             "WID_CV_RESIZE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_PHG_KEY,                               "WID_PHG_KEY");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_PHG_DETAILED_PERFORMANCE,              "WID_PHG_DETAILED_PERFORMANCE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_PHG_BACKGROUND,                        "WID_PHG_BACKGROUND");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_PHG_GRAPH,                             "WID_PHG_GRAPH");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_PHG_RESIZE,                            "WID_PHG_RESIZE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CPR_BACKGROUND,                        "WID_CPR_BACKGROUND");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CPR_HEADER,                            "WID_CPR_HEADER");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CPR_GRAPH,                             "WID_CPR_GRAPH");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CPR_RESIZE,                            "WID_CPR_RESIZE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CPR_FOOTER,                            "WID_CPR_FOOTER");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CPR_ENABLE_CARGOES,                    "WID_CPR_ENABLE_CARGOES");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CPR_DISABLE_CARGOES,                   "WID_CPR_DISABLE_CARGOES");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CPR_CARGO_FIRST,                       "WID_CPR_CARGO_FIRST");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_CL_BACKGROUND,                         "WID_CL_BACKGROUND");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_PRD_SCORE_FIRST,                       "WID_PRD_SCORE_FIRST");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_PRD_SCORE_LAST,                        "WID_PRD_SCORE_LAST");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_PRD_COMPANY_FIRST,                     "WID_PRD_COMPANY_FIRST");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_PRD_COMPANY_LAST,                      "WID_PRD_COMPANY_LAST");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_CAPTION,                            "WID_GL_CAPTION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_SORT_BY_ORDER,                      "WID_GL_SORT_BY_ORDER");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_SORT_BY_DROPDOWN,                   "WID_GL_SORT_BY_DROPDOWN");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_LIST_VEHICLE,                       "WID_GL_LIST_VEHICLE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_LIST_VEHICLE_SCROLLBAR,             "WID_GL_LIST_VEHICLE_SCROLLBAR");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_AVAILABLE_VEHICLES,                 "WID_GL_AVAILABLE_VEHICLES");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_MANAGE_VEHICLES_DROPDOWN,           "WID_GL_MANAGE_VEHICLES_DROPDOWN");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_STOP_ALL,                           "WID_GL_STOP_ALL");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_START_ALL,                          "WID_GL_START_ALL");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_ALL_VEHICLES,                       "WID_GL_ALL_VEHICLES");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_DEFAULT_VEHICLES,                   "WID_GL_DEFAULT_VEHICLES");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_LIST_GROUP,                         "WID_GL_LIST_GROUP");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_LIST_GROUP_SCROLLBAR,               "WID_GL_LIST_GROUP_SCROLLBAR");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_CREATE_GROUP,                       "WID_GL_CREATE_GROUP");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_DELETE_GROUP,                       "WID_GL_DELETE_GROUP");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_RENAME_GROUP,                       "WID_GL_RENAME_GROUP");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_REPLACE_PROTECTION,                 "WID_GL_REPLACE_PROTECTION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GL_INFO,                               "WID_GL_INFO");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_H_BACKGROUND,                          "WID_H_BACKGROUND");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_DPI_MATRIX_WIDGET,                     "WID_DPI_MATRIX_WIDGET");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_DPI_SCROLLBAR,                         "WID_DPI_SCROLLBAR");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_DPI_INFOPANEL,                         "WID_DPI_INFOPANEL");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_DPI_DISPLAY_WIDGET,                    "WID_DPI_DISPLAY_WIDGET");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_DPI_FUND_WIDGET,                       "WID_DPI_FUND_WIDGET");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_IV_CAPTION,                            "WID_IV_CAPTION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_IV_VIEWPORT,                           "WID_IV_VIEWPORT");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_IV_INFO,                               "WID_IV_INFO");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_IV_GOTO,                               "WID_IV_GOTO");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_IV_DISPLAY,                            "WID_IV_DISPLAY");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_ID_DROPDOWN_ORDER,                     "WID_ID_DROPDOWN_ORDER");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_ID_DROPDOWN_CRITERIA,                  "WID_ID_DROPDOWN_CRITERIA");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_ID_INDUSTRY_LIST,                      "WID_ID_INDUSTRY_LIST");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_ID_SCROLLBAR,                          "WID_ID_SCROLLBAR");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_IC_CAPTION,                            "WID_IC_CAPTION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_IC_NOTIFY,                             "WID_IC_NOTIFY");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_IC_PANEL,                              "WID_IC_PANEL");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_IC_SCROLLBAR,                          "WID_IC_SCROLLBAR");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_IC_CARGO_DROPDOWN,                     "WID_IC_CARGO_DROPDOWN");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_IC_IND_DROPDOWN,                       "WID_IC_IND_DROPDOWN");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_GENERATE_GAME,                     "WID_SGI_GENERATE_GAME");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_LOAD_GAME,                         "WID_SGI_LOAD_GAME");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_PLAY_SCENARIO,                     "WID_SGI_PLAY_SCENARIO");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_PLAY_HEIGHTMAP,                    "WID_SGI_PLAY_HEIGHTMAP");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_EDIT_SCENARIO,                     "WID_SGI_EDIT_SCENARIO");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_PLAY_NETWORK,                      "WID_SGI_PLAY_NETWORK");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_TEMPERATE_LANDSCAPE,               "WID_SGI_TEMPERATE_LANDSCAPE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_ARCTIC_LANDSCAPE,                  "WID_SGI_ARCTIC_LANDSCAPE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_TROPIC_LANDSCAPE,                  "WID_SGI_TROPIC_LANDSCAPE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_TOYLAND_LANDSCAPE,                 "WID_SGI_TOYLAND_LANDSCAPE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_BASESET_SELECTION,                 "WID_SGI_BASESET_SELECTION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_BASESET,                           "WID_SGI_BASESET");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_TRANSLATION_SELECTION,             "WID_SGI_TRANSLATION_SELECTION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_TRANSLATION,                       "WID_SGI_TRANSLATION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_OPTIONS,                           "WID_SGI_OPTIONS");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_HIGHSCORE,                         "WID_SGI_HIGHSCORE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_SETTINGS_OPTIONS,                  "WID_SGI_SETTINGS_OPTIONS");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_GRF_SETTINGS,                      "WID_SGI_GRF_SETTINGS");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_CONTENT_DOWNLOAD,                  "WID_SGI_CONTENT_DOWNLOAD");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_AI_SETTINGS,                       "WID_SGI_AI_SETTINGS");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SGI_EXIT,                              "WID_SGI_EXIT");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_CAPTION,                           "WID_LGL_CAPTION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_SATURATION,                        "WID_LGL_SATURATION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_SATURATION_FIRST,                  "WID_LGL_SATURATION_FIRST");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_SATURATION_LAST,                   "WID_LGL_SATURATION_LAST");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_COMPANIES,                         "WID_LGL_COMPANIES");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_COMPANY_FIRST,                     "WID_LGL_COMPANY_FIRST");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_COMPANY_LAST,                      "WID_LGL_COMPANY_LAST");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_COMPANIES_ALL,                     "WID_LGL_COMPANIES_ALL");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_COMPANIES_NONE,                    "WID_LGL_COMPANIES_NONE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_CARGOES,                           "WID_LGL_CARGOES");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_CARGO_FIRST,                       "WID_LGL_CARGO_FIRST");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_CARGO_LAST,                        "WID_LGL_CARGO_LAST");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_CARGOES_ALL,                       "WID_LGL_CARGOES_ALL");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LGL_CARGOES_NONE,                      "WID_LGL_CARGOES_NONE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_VIEWPORT,                            "WID_M_VIEWPORT");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_LI_BACKGROUND,                         "WID_LI_BACKGROUND");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TT_BACKGROUND,                         "WID_TT_BACKGROUND");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_A_SCROLLING_TEXT,                      "WID_A_SCROLLING_TEXT");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_A_WEBSITE,                             "WID_A_WEBSITE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_QS_CAPTION,                            "WID_QS_CAPTION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_QS_TEXT,                               "WID_QS_TEXT");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_QS_DEFAULT,                            "WID_QS_DEFAULT");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_QS_CANCEL,                             "WID_QS_CANCEL");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_QS_OK,                                 "WID_QS_OK");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_Q_CAPTION,                             "WID_Q_CAPTION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_Q_TEXT,                                "WID_Q_TEXT");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_Q_NO,                                  "WID_Q_NO");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_Q_YES,                                 "WID_Q_YES");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TF_CAPTION,                            "WID_TF_CAPTION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TF_WRAPTEXT,                           "WID_TF_WRAPTEXT");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TF_BACKGROUND,                         "WID_TF_BACKGROUND");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TF_VSCROLLBAR,                         "WID_TF_VSCROLLBAR");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TF_HSCROLLBAR,                         "WID_TF_HSCROLLBAR");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_MTS_CAPTION,                           "WID_MTS_CAPTION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_MTS_LIST_LEFT,                         "WID_MTS_LIST_LEFT");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_MTS_PLAYLIST,                          "WID_MTS_PLAYLIST");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_MTS_LIST_RIGHT,                        "WID_MTS_LIST_RIGHT");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_MTS_MUSICSET,                          "WID_MTS_MUSICSET");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_MTS_ALL,                               "WID_MTS_ALL");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_MTS_OLD,                               "WID_MTS_OLD");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_MTS_NEW,                               "WID_MTS_NEW");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_MTS_EZY,                               "WID_MTS_EZY");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_MTS_CUSTOM1,                           "WID_MTS_CUSTOM1");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_MTS_CUSTOM2,                           "WID_MTS_CUSTOM2");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_MTS_CLEAR,                             "WID_MTS_CLEAR");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_PREV,                                "WID_M_PREV");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_NEXT,                                "WID_M_NEXT");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_STOP,                                "WID_M_STOP");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_PLAY,                                "WID_M_PLAY");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_SLIDERS,                             "WID_M_SLIDERS");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_MUSIC_VOL,                           "WID_M_MUSIC_VOL");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_EFFECT_VOL,                          "WID_M_EFFECT_VOL");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_BACKGROUND,                          "WID_M_BACKGROUND");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_TRACK,                               "WID_M_TRACK");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_TRACK_NR,                            "WID_M_TRACK_NR");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_TRACK_TITLE,                         "WID_M_TRACK_TITLE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_TRACK_NAME,                          "WID_M_TRACK_NAME");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_SHUFFLE,                             "WID_M_SHUFFLE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_PROGRAMME,                           "WID_M_PROGRAMME");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_ALL,                                 "WID_M_ALL");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_OLD,                                 "WID_M_OLD");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_NEW,                                 "WID_M_NEW");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_EZY,                                 "WID_M_EZY");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_CUSTOM1,                             "WID_M_CUSTOM1");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_M_CUSTOM2,                             "WID_M_CUSTOM2");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NC_CLOSE,                              "WID_NC_CLOSE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NC_BACKGROUND,                         "WID_NC_BACKGROUND");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NC_DESTINATION,                        "WID_NC_DESTINATION");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NC_TEXTBOX,                            "WID_NC_TEXTBOX");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NC_SENDBUTTON,                         "WID_NC_SENDBUTTON");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCDS_BACKGROUND,                       "WID_NCDS_BACKGROUND");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCDS_CANCELOK,                         "WID_NCDS_CANCELOK");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_BACKGROUND,                        "WID_NCL_BACKGROUND");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_FILTER_CAPT,                       "WID_NCL_FILTER_CAPT");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_FILTER,                            "WID_NCL_FILTER");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_CHECKBOX,                          "WID_NCL_CHECKBOX");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_TYPE,                              "WID_NCL_TYPE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_NAME,                              "WID_NCL_NAME");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_MATRIX,                            "WID_NCL_MATRIX");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_SCROLLBAR,                         "WID_NCL_SCROLLBAR");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_DETAILS,                           "WID_NCL_DETAILS");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_TEXTFILE,                          "WID_NCL_TEXTFILE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_SELECT_ALL,                        "WID_NCL_SELECT_ALL");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_SELECT_UPDATE,                     "WID_NCL_SELECT_UPDATE");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_UNSELECT,                          "WID_NCL_UNSELECT");
 
	SQGSWindow.DefSQConst(engine, ScriptWindow::WID_NCL_OPEN_URL,                          "WID_NCL_OPEN_URL");
src/script/api/script_window.hpp
Show inline comments
 
@@ -1394,96 +1394,97 @@ public:
 

	
 
	/** Widget of the #PaymentRatesGraphWindow class. */
 
	enum CargoPaymentRatesWidgets {
 
		WID_CPR_BACKGROUND                           = ::WID_CPR_BACKGROUND,                           ///< Background of the window.
 
		WID_CPR_HEADER                               = ::WID_CPR_HEADER,                               ///< Header.
 
		WID_CPR_GRAPH                                = ::WID_CPR_GRAPH,                                ///< Graph itself.
 
		WID_CPR_RESIZE                               = ::WID_CPR_RESIZE,                               ///< Resize button.
 
		WID_CPR_FOOTER                               = ::WID_CPR_FOOTER,                               ///< Footer.
 
		WID_CPR_ENABLE_CARGOES                       = ::WID_CPR_ENABLE_CARGOES,                       ///< Enable cargoes button.
 
		WID_CPR_DISABLE_CARGOES                      = ::WID_CPR_DISABLE_CARGOES,                      ///< Disable cargoes button.
 
		WID_CPR_CARGO_FIRST                          = ::WID_CPR_CARGO_FIRST,                          ///< First cargo in the list.
 
	};
 

	
 
	/** Widget of the #CompanyLeagueWindow class. */
 
	enum CompanyLeagueWidgets {
 
		WID_CL_BACKGROUND                            = ::WID_CL_BACKGROUND,                            ///< Background of the window.
 
	};
 

	
 
	/** Widget of the #PerformanceRatingDetailWindow class. */
 
	enum PerformanceRatingDetailsWidgets {
 
		WID_PRD_SCORE_FIRST                          = ::WID_PRD_SCORE_FIRST,                          ///< First entry in the score list.
 
		WID_PRD_SCORE_LAST                           = ::WID_PRD_SCORE_LAST,                           ///< Last entry in the score list.
 

	
 
		WID_PRD_COMPANY_FIRST                        = ::WID_PRD_COMPANY_FIRST,                        ///< First company.
 
		WID_PRD_COMPANY_LAST                         = ::WID_PRD_COMPANY_LAST,                         ///< Last company.
 
	};
 

	
 
	/* automatically generated from ../../widgets/group_widget.h */
 
	/** Widgets of the #VehicleGroupWindow class. */
 
	enum GroupListWidgets {
 
		WID_GL_CAPTION                               = ::WID_GL_CAPTION,                               ///< Caption of the window.
 
		WID_GL_SORT_BY_ORDER                         = ::WID_GL_SORT_BY_ORDER,                         ///< Sort order.
 
		WID_GL_SORT_BY_DROPDOWN                      = ::WID_GL_SORT_BY_DROPDOWN,                      ///< Sort by dropdown list.
 
		WID_GL_LIST_VEHICLE                          = ::WID_GL_LIST_VEHICLE,                          ///< List of the vehicles.
 
		WID_GL_LIST_VEHICLE_SCROLLBAR                = ::WID_GL_LIST_VEHICLE_SCROLLBAR,                ///< Scrollbar for the list.
 
		WID_GL_AVAILABLE_VEHICLES                    = ::WID_GL_AVAILABLE_VEHICLES,                    ///< Available vehicles.
 
		WID_GL_MANAGE_VEHICLES_DROPDOWN              = ::WID_GL_MANAGE_VEHICLES_DROPDOWN,              ///< Manage vehicles dropdown list.
 
		WID_GL_STOP_ALL                              = ::WID_GL_STOP_ALL,                              ///< Stop all button.
 
		WID_GL_START_ALL                             = ::WID_GL_START_ALL,                             ///< Start all button.
 

	
 
		WID_GL_ALL_VEHICLES                          = ::WID_GL_ALL_VEHICLES,                          ///< All vehicles entry.
 
		WID_GL_DEFAULT_VEHICLES                      = ::WID_GL_DEFAULT_VEHICLES,                      ///< Default vehicles entry.
 
		WID_GL_LIST_GROUP                            = ::WID_GL_LIST_GROUP,                            ///< List of the groups.
 
		WID_GL_LIST_GROUP_SCROLLBAR                  = ::WID_GL_LIST_GROUP_SCROLLBAR,                  ///< Scrollbar for the list.
 
		WID_GL_CREATE_GROUP                          = ::WID_GL_CREATE_GROUP,                          ///< Create group button.
 
		WID_GL_DELETE_GROUP                          = ::WID_GL_DELETE_GROUP,                          ///< Delete group button.
 
		WID_GL_RENAME_GROUP                          = ::WID_GL_RENAME_GROUP,                          ///< Rename group button.
 
		WID_GL_REPLACE_PROTECTION                    = ::WID_GL_REPLACE_PROTECTION,                    ///< Replace protection button.
 
		WID_GL_INFO                                  = ::WID_GL_INFO,                                  ///< Group info.
 
	};
 

	
 
	/* automatically generated from ../../widgets/highscore_widget.h */
 
	/** Widgets of the #EndGameHighScoreBaseWindow class and #HighScoreWindow class. */
 
	enum HighscoreWidgets {
 
		WID_H_BACKGROUND                             = ::WID_H_BACKGROUND,                             ///< Background of the window.
 
	};
 

	
 
	/* automatically generated from ../../widgets/industry_widget.h */
 
	/** Widgets of the #BuildIndustryWindow class. */
 
	enum DynamicPlaceIndustriesWidgets {
 
		WID_DPI_MATRIX_WIDGET                        = ::WID_DPI_MATRIX_WIDGET,                        ///< Matrix of the industries.
 
		WID_DPI_SCROLLBAR                            = ::WID_DPI_SCROLLBAR,                            ///< Scrollbar of the matrix.
 
		WID_DPI_INFOPANEL                            = ::WID_DPI_INFOPANEL,                            ///< Info panel about the industry.
 
		WID_DPI_DISPLAY_WIDGET                       = ::WID_DPI_DISPLAY_WIDGET,                       ///< Display chain button.
 
		WID_DPI_FUND_WIDGET                          = ::WID_DPI_FUND_WIDGET,                          ///< Fund button.
 
	};
 

	
 
	/** Widgets of the #IndustryViewWindow class. */
 
	enum IndustryViewWidgets {
 
		WID_IV_CAPTION                               = ::WID_IV_CAPTION,                               ///< Caption of the window.
 
		WID_IV_VIEWPORT                              = ::WID_IV_VIEWPORT,                              ///< Viewport of the industry.
 
		WID_IV_INFO                                  = ::WID_IV_INFO,                                  ///< Info of the industry.
 
		WID_IV_GOTO                                  = ::WID_IV_GOTO,                                  ///< Goto button.
 
		WID_IV_DISPLAY                               = ::WID_IV_DISPLAY,                               ///< Display chain button.
 
	};
 

	
 
	/** Widgets of the #IndustryDirectoryWindow class. */
 
	enum IndustryDirectoryWidgets {
 
		WID_ID_DROPDOWN_ORDER                        = ::WID_ID_DROPDOWN_ORDER,                        ///< Dropdown for the order of the sort.
 
		WID_ID_DROPDOWN_CRITERIA                     = ::WID_ID_DROPDOWN_CRITERIA,                     ///< Dropdown for the criteria of the sort.
 
		WID_ID_INDUSTRY_LIST                         = ::WID_ID_INDUSTRY_LIST,                         ///< Industry list.
 
		WID_ID_SCROLLBAR                             = ::WID_ID_SCROLLBAR,                             ///< Scrollbar of the list.
 
	};
 

	
 
	/** Widgets of the #IndustryCargoesWindow class */
 
	enum IndustryCargoesWidgets {
 
		WID_IC_CAPTION                               = ::WID_IC_CAPTION,                               ///< Caption of the window.
 
		WID_IC_NOTIFY                                = ::WID_IC_NOTIFY,                                ///< Row of buttons at the bottom.
 
		WID_IC_PANEL                                 = ::WID_IC_PANEL,                                 ///< Panel that shows the chain.
 
		WID_IC_SCROLLBAR                             = ::WID_IC_SCROLLBAR,                             ///< Scrollbar of the panel.
 
		WID_IC_CARGO_DROPDOWN                        = ::WID_IC_CARGO_DROPDOWN,                        ///< Select cargo dropdown.
 
		WID_IC_IND_DROPDOWN                          = ::WID_IC_IND_DROPDOWN,                          ///< Select industry dropdown.
 
	};
 

	
 
	/* automatically generated from ../../widgets/intro_widget.h */
 
	/** Widgets of the #SelectGameWindow class. */
 
	enum SelectGameIntroWidgets {
 
@@ -1536,99 +1537,101 @@ public:
 
	};
 

	
 
	/* automatically generated from ../../widgets/misc_widget.h */
 
	/** Widgets of the #LandInfoWindow class. */
 
	enum LandInfoWidgets {
 
		WID_LI_BACKGROUND                            = ::WID_LI_BACKGROUND,                            ///< Background of the window.
 
	};
 

	
 
	/** Widgets of the #TooltipsWindow class. */
 
	enum ToolTipsWidgets {
 
		WID_TT_BACKGROUND                            = ::WID_TT_BACKGROUND,                            ///< Background of the window.
 
	};
 

	
 
	/** Widgets of the #AboutWindow class. */
 
	enum AboutWidgets {
 
		WID_A_SCROLLING_TEXT                         = ::WID_A_SCROLLING_TEXT,                         ///< The actually scrolling text.
 
		WID_A_WEBSITE                                = ::WID_A_WEBSITE,                                ///< URL of OpenTTD website.
 
	};
 

	
 
	/** Widgets of the #QueryStringWindow class. */
 
	enum QueryStringWidgets {
 
		WID_QS_CAPTION                               = ::WID_QS_CAPTION,                               ///< Caption of the window.
 
		WID_QS_TEXT                                  = ::WID_QS_TEXT,                                  ///< Text of the query.
 
		WID_QS_DEFAULT                               = ::WID_QS_DEFAULT,                               ///< Default button.
 
		WID_QS_CANCEL                                = ::WID_QS_CANCEL,                                ///< Cancel button.
 
		WID_QS_OK                                    = ::WID_QS_OK,                                    ///< OK button.
 
	};
 

	
 
	/** Widgets of the #QueryWindow class. */
 
	enum QueryWidgets {
 
		WID_Q_CAPTION                                = ::WID_Q_CAPTION,                                ///< Caption of the window.
 
		WID_Q_TEXT                                   = ::WID_Q_TEXT,                                   ///< Text of the query.
 
		WID_Q_NO                                     = ::WID_Q_NO,                                     ///< Yes button.
 
		WID_Q_YES                                    = ::WID_Q_YES,                                    ///< No button.
 
	};
 

	
 
	/** Widgets of the #TextfileWindow class. */
 
	enum TextfileWidgets {
 
		WID_TF_CAPTION                               = ::WID_TF_CAPTION,                               ///< The caption of the window.
 
		WID_TF_WRAPTEXT                              = ::WID_TF_WRAPTEXT,                              ///< Whether or not to wrap the text.
 
		WID_TF_BACKGROUND                            = ::WID_TF_BACKGROUND,                            ///< Panel to draw the textfile on.
 
		WID_TF_VSCROLLBAR                            = ::WID_TF_VSCROLLBAR,                            ///< Vertical scrollbar to scroll through the textfile up-and-down.
 
		WID_TF_HSCROLLBAR                            = ::WID_TF_HSCROLLBAR,                            ///< Horizontal scrollbar to scroll through the textfile left-to-right.
 
	};
 

	
 
	/* automatically generated from ../../widgets/music_widget.h */
 
	/** Widgets of the #MusicTrackSelectionWindow class. */
 
	enum MusicTrackSelectionWidgets {
 
		WID_MTS_CAPTION                              = ::WID_MTS_CAPTION,                              ///< Window caption.
 
		WID_MTS_LIST_LEFT                            = ::WID_MTS_LIST_LEFT,                            ///< Left button.
 
		WID_MTS_PLAYLIST                             = ::WID_MTS_PLAYLIST,                             ///< Playlist.
 
		WID_MTS_LIST_RIGHT                           = ::WID_MTS_LIST_RIGHT,                           ///< Right button.
 
		WID_MTS_MUSICSET                             = ::WID_MTS_MUSICSET,                             ///< Music set selection.
 
		WID_MTS_ALL                                  = ::WID_MTS_ALL,                                  ///< All button.
 
		WID_MTS_OLD                                  = ::WID_MTS_OLD,                                  ///< Old button.
 
		WID_MTS_NEW                                  = ::WID_MTS_NEW,                                  ///< New button.
 
		WID_MTS_EZY                                  = ::WID_MTS_EZY,                                  ///< Ezy button.
 
		WID_MTS_CUSTOM1                              = ::WID_MTS_CUSTOM1,                              ///< Custom1 button.
 
		WID_MTS_CUSTOM2                              = ::WID_MTS_CUSTOM2,                              ///< Custom2 button.
 
		WID_MTS_CLEAR                                = ::WID_MTS_CLEAR,                                ///< Clear button.
 
	};
 

	
 
	/** Widgets of the #MusicWindow class. */
 
	enum MusicWidgets {
 
		WID_M_PREV                                   = ::WID_M_PREV,                                   ///< Previous button.
 
		WID_M_NEXT                                   = ::WID_M_NEXT,                                   ///< Next button.
 
		WID_M_STOP                                   = ::WID_M_STOP,                                   ///< Stop button.
 
		WID_M_PLAY                                   = ::WID_M_PLAY,                                   ///< Play button.
 
		WID_M_SLIDERS                                = ::WID_M_SLIDERS,                                ///< Sliders.
 
		WID_M_MUSIC_VOL                              = ::WID_M_MUSIC_VOL,                              ///< Music volume.
 
		WID_M_EFFECT_VOL                             = ::WID_M_EFFECT_VOL,                             ///< Effect volume.
 
		WID_M_BACKGROUND                             = ::WID_M_BACKGROUND,                             ///< Background of the window.
 
		WID_M_TRACK                                  = ::WID_M_TRACK,                                  ///< Track playing.
 
		WID_M_TRACK_NR                               = ::WID_M_TRACK_NR,                               ///< Track number.
 
		WID_M_TRACK_TITLE                            = ::WID_M_TRACK_TITLE,                            ///< Track title.
 
		WID_M_TRACK_NAME                             = ::WID_M_TRACK_NAME,                             ///< Track name.
 
		WID_M_SHUFFLE                                = ::WID_M_SHUFFLE,                                ///< Shuffle button.
 
		WID_M_PROGRAMME                              = ::WID_M_PROGRAMME,                              ///< Program button.
 
		WID_M_ALL                                    = ::WID_M_ALL,                                    ///< All button.
 
		WID_M_OLD                                    = ::WID_M_OLD,                                    ///< Old button.
 
		WID_M_NEW                                    = ::WID_M_NEW,                                    ///< New button.
 
		WID_M_EZY                                    = ::WID_M_EZY,                                    ///< Ezy button.
 
		WID_M_CUSTOM1                                = ::WID_M_CUSTOM1,                                ///< Custom1 button.
 
		WID_M_CUSTOM2                                = ::WID_M_CUSTOM2,                                ///< Custom2 button.
 
	};
 

	
 
	/* automatically generated from ../../widgets/network_chat_widget.h */
 
	/** Widgets of the #NetworkChatWindow class. */
 
	enum NetWorkChatWidgets {
 
		WID_NC_CLOSE                                 = ::WID_NC_CLOSE,                                 ///< Close button.
 
		WID_NC_BACKGROUND                            = ::WID_NC_BACKGROUND,                            ///< Background of the window.
 
		WID_NC_DESTINATION                           = ::WID_NC_DESTINATION,                           ///< Destination.
 
		WID_NC_TEXTBOX                               = ::WID_NC_TEXTBOX,                               ///< Textbox.
 
		WID_NC_SENDBUTTON                            = ::WID_NC_SENDBUTTON,                            ///< Send button.
 
	};
 

	
 
	/* automatically generated from ../../widgets/network_content_widget.h */
 
	/** Widgets of the #NetworkContentDownloadStatusWindow class. */
 
	enum NetworkContentDownloadStatusWidgets {
 
		WID_NCDS_BACKGROUND                          = ::WID_NCDS_BACKGROUND,                          ///< Background of the window.
 
		WID_NCDS_CANCELOK                            = ::WID_NCDS_CANCELOK,                            ///< (Optional) Cancel/OK button.
0 comments (0 inline, 0 general)