Merge lp:~widelands-dev/widelands/bug-1791891-key-modifier-inputqueue into lp:widelands
Proposed by
Notabilis
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Merged at revision: | 9079 | ||||||||
Proposed branch: | lp:~widelands-dev/widelands/bug-1791891-key-modifier-inputqueue | ||||||||
Merge into: | lp:widelands | ||||||||
Diff against target: |
167 lines (+74/-16) 2 files modified
src/wui/inputqueuedisplay.cc (+72/-15) src/wui/inputqueuedisplay.h (+2/-1) |
||||||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bug-1791891-key-modifier-inputqueue | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Benedikt Straub | code | Approve | |
Review via email: mp+354732@code.launchpad.net |
Commit message
Adding support for Ctrl and Shift keys when using the increase/decrease buttons of input queues.
Description of the change
Adding keyboard modifiers for faster adaption of input queue settings (see bug report).
Slight disadvantage of this branch: To allow a "decreasing" shift-click on an input queue that is already at minimum (and vice versa), the code to disable the buttons had to be removed. That means that the increase/decrease buttons will always look the same, even when a "normal" click on them won't change anything.
To post a comment you must log in.
Code LGTM, not tested.
Thanks!