mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r25373) -Add: squirrel bindings for cargodist-specific widgets
This commit is contained in:
parent
eaede14b8f
commit
4e902f2e20
|
@ -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");
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue