diff options
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/api/game/game_window.hpp.sq | 4 | ||||
-rw-r--r-- | src/script/api/script_window.hpp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/script/api/game/game_window.hpp.sq b/src/script/api/game/game_window.hpp.sq index 36415aba3..d591f611a 100644 --- a/src/script/api/game/game_window.hpp.sq +++ b/src/script/api/game/game_window.hpp.sq @@ -1054,6 +1054,10 @@ void SQGSWindow_Register(Squirrel *engine) SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SM_DISABLE_ALL, "WID_SM_DISABLE_ALL"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SM_SHOW_HEIGHT, "WID_SM_SHOW_HEIGHT"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SV_CAPTION, "WID_SV_CAPTION"); + SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SV_SORT_ORDER, "WID_SV_SORT_ORDER"); + SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SV_SORT_BY, "WID_SV_SORT_BY"); + SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SV_GROUP, "WID_SV_GROUP"); + SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SV_GROUP_BY, "WID_SV_GROUP_BY"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SV_WAITING, "WID_SV_WAITING"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SV_SCROLLBAR, "WID_SV_SCROLLBAR"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SV_ACCEPT_RATING_LIST, "WID_SV_ACCEPT_RATING_LIST"); diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp index 3c729e50e..3654f0fac 100644 --- a/src/script/api/script_window.hpp +++ b/src/script/api/script_window.hpp @@ -2196,6 +2196,10 @@ public: /** Widgets of the #StationViewWindow class. */ enum StationViewWidgets { WID_SV_CAPTION = ::WID_SV_CAPTION, ///< Caption of the window. + WID_SV_SORT_ORDER = ::WID_SV_SORT_ORDER, ///< 'Sort order' button + WID_SV_SORT_BY = ::WID_SV_SORT_BY, ///< 'Sort by' button + WID_SV_GROUP = ::WID_SV_GROUP, ///< label for "group by" + WID_SV_GROUP_BY = ::WID_SV_GROUP_BY, ///< 'Group by' button WID_SV_WAITING = ::WID_SV_WAITING, ///< List of waiting cargo. WID_SV_SCROLLBAR = ::WID_SV_SCROLLBAR, ///< Scrollbar. WID_SV_ACCEPT_RATING_LIST = ::WID_SV_ACCEPT_RATING_LIST, ///< List of accepted cargoes / rating of cargoes. |