Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #6974: Add filter widget to api (and a double dot from somewhere) #6985

Merged
merged 1 commit into from Dec 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/script/api/game/game_window.hpp.sq
Expand Up @@ -438,6 +438,7 @@ void SQGSWindow_Register(Squirrel *engine)
SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SL_CAPTION, "WID_SL_CAPTION");
SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SL_SORT_BYNAME, "WID_SL_SORT_BYNAME");
SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SL_SORT_BYDATE, "WID_SL_SORT_BYDATE");
SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SL_FILTER, "WID_SL_FILTER");
SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SL_BACKGROUND, "WID_SL_BACKGROUND");
SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SL_FILE_BACKGROUND, "WID_SL_FILE_BACKGROUND");
SQGSWindow.DefSQConst(engine, ScriptWindow::WID_SL_HOME_BUTTON, "WID_SL_HOME_BUTTON");
Expand Down
3 changes: 2 additions & 1 deletion src/script/api/script_window.hpp
Expand Up @@ -1001,7 +1001,7 @@ class ScriptWindow : public ScriptObject {
};

/* automatically generated from ../../widgets/cheat_widget.h */
/** Widgets of the #CheatWindow class.. */
/** Widgets of the #CheatWindow class. */
enum CheatWidgets {
WID_C_PANEL = ::WID_C_PANEL, ///< Panel where all cheats are shown in.
};
Expand Down Expand Up @@ -1272,6 +1272,7 @@ class ScriptWindow : public ScriptObject {
WID_SL_CAPTION = ::WID_SL_CAPTION, ///< Caption of the window.
WID_SL_SORT_BYNAME = ::WID_SL_SORT_BYNAME, ///< Sort by name button.
WID_SL_SORT_BYDATE = ::WID_SL_SORT_BYDATE, ///< Sort by date button.
WID_SL_FILTER = ::WID_SL_FILTER, ///< Filter list of files
WID_SL_BACKGROUND = ::WID_SL_BACKGROUND, ///< Background of window.
WID_SL_FILE_BACKGROUND = ::WID_SL_FILE_BACKGROUND, ///< Background of file selection.
WID_SL_HOME_BUTTON = ::WID_SL_HOME_BUTTON, ///< Home button.
Expand Down