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

Add: Filter box to the save and load window #6974

Merged
merged 3 commits into from Nov 25, 2018
Merged

Conversation

@damfr
Copy link
Contributor

damfr commented Nov 22, 2018

Saves and heightmaps names can be filtered.
mcalpine co 26th may 2116 1

@damfr damfr force-pushed the damfr:saveload-filter branch from c564be2 to 3b610ca Nov 25, 2018
NWidget(NWID_HORIZONTAL), SetPadding(WD_FRAMERECT_TOP, 0, WD_FRAMERECT_BOTTOM, 0),
SetPIP(WD_FRAMETEXT_LEFT, WD_FRAMETEXT_RIGHT, 0),
NWidget(WWT_TEXT, COLOUR_MAUVE), SetFill(0, 1), SetDataTip(STR_SAVELOAD_FILTER_TITLE , STR_NULL),
NWidget(WWT_EDITBOX, COLOUR_MAUVE, WID_SL_FILTER), SetFill(1, 0), SetMinimalSize(50, 12), SetResize(1, 0),

This comment has been minimized.

Copy link
@michicc

michicc Nov 25, 2018

Member

This and the line above should use COLOUR_GREY like the rest of the window.

NWidget(NWID_HORIZONTAL), SetPadding(WD_FRAMERECT_TOP, 0, WD_FRAMERECT_BOTTOM, 0),
SetPIP(WD_FRAMETEXT_LEFT, WD_FRAMETEXT_RIGHT, 0),
NWidget(WWT_TEXT, COLOUR_MAUVE), SetFill(0, 1), SetDataTip(STR_SAVELOAD_FILTER_TITLE , STR_NULL),
NWidget(WWT_EDITBOX, COLOUR_MAUVE, WID_SL_FILTER), SetFill(1, 0), SetMinimalSize(50, 12), SetResize(1, 0),

This comment has been minimized.

Copy link
@michicc

michicc Nov 25, 2018

Member

This and the line above should use COLOUR_GREY like the rest of the window.

NWidget(NWID_HORIZONTAL), SetPadding(WD_FRAMERECT_TOP, 0, WD_FRAMERECT_BOTTOM, 0),
SetPIP(WD_FRAMETEXT_LEFT, WD_FRAMETEXT_RIGHT, 0),
NWidget(WWT_TEXT, COLOUR_MAUVE), SetFill(0, 1), SetDataTip(STR_SAVELOAD_FILTER_TITLE , STR_NULL),
NWidget(WWT_EDITBOX, COLOUR_MAUVE, WID_SL_FILTER), SetFill(1, 0), SetMinimalSize(50, 12), SetResize(1, 0),

This comment has been minimized.

Copy link
@michicc

michicc Nov 25, 2018

Member

Ditto.

@damfr damfr force-pushed the damfr:saveload-filter branch from 3b610ca to 7ed41e0 Nov 25, 2018
@damfr damfr force-pushed the damfr:saveload-filter branch from 7ed41e0 to 6888ed1 Nov 25, 2018
@michicc michicc merged commit 868c6f9 into OpenTTD:master Nov 25, 2018
6 checks passed
6 checks passed
continuous-integration/jenkins/pr-head This commit looks good
Details
openttd/commit-checker The commit looks good
Details
openttd/linux-amd64-clang-3.8 The commit looks good
Details
openttd/linux-amd64-gcc-6 The commit looks good
Details
openttd/linux-i386-gcc-6 The commit looks good
Details
openttd/osx-10.9 The commit looks good
Details
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this pull request Dec 1, 2018
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this pull request Dec 8, 2018
nielsmh added a commit that referenced this pull request Dec 27, 2018
nielsmh added a commit to nielsmh/OpenTTD that referenced this pull request Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.