(svn r25373) -Add: squirrel bindings for cargodist-specific widgets

This commit is contained in:
fonsinchen 2013-06-09 13:24:26 +00:00
parent eaede14b8f
commit 4e902f2e20
2 changed files with 8 additions and 0 deletions

View File

@ -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");

View File

@ -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.