-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a dynamic filtering to the listbox widget and enabled it on all…
… lists which tend to have a lot of values and could use additional filtering. FUNCTIONAL: - Fixed a bug where using shift+tab to navigate back through the focus list would never focus the first element -> for example in the add command dialog you could never get back to the list of commands by using shift+tab - Added a new filtering to some of the lists which works like this: - Type letters and space to filter the list - It will limit the items in the list only to those that match every word you type - Enabled the filtering on: - Add command dialog: list of commands and most of the lists in there - Customize character dialog: character list - Character management dialog: custom characters list, type list - Build Levels screen: list of holds - Hold selection screen: list of hold - Restore screen: list of levels INTERNAL: - Added some fancy functions to WChar.cpp that are used to implement the filtering - Select/Unselect on CFocusWidget are virtual so you can things happen on losing focus - CWidget has a way to prevent event bubbling, currently only works KeyDown but can be easily expanded NOTES FOR TESTERS: - Here are some issues I've found/introduced during development and fixed. It's best to double check them, and you can test all of them on the command list dialog.: a) Select some option -> Filter so that it's not available -> Up/Down arrows wouldn't select things b) (Add Command dialog) Select some option -> Filter so that it's not available -> widgets for the selected option would not be available c) Scrollbar was not resized d) The last item in the list was not available in the filtering if there were more things in the list than can fit e) Filter -> Select an item -> remove the filter -> The list would scroll away from the currently selected item f) Filter -> It was still possible to scroll down as if the list was not slimmed down
- Loading branch information
1 parent
8df8ef8
commit 2e228cc
Showing
21 changed files
with
364 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.