mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2025-02-25 22:38:10 +01:00
GUI: Expose sws scroll wheel behavior option
This commit is contained in:
parent
9d64a8c3a5
commit
5cef3b12c3
@ -5764,6 +5764,24 @@ void sws_ReadSettings(sws_WindowSwitcher* sws)
|
|||||||
&(sws->bAlwaysUseWindowTitleAndIcon),
|
&(sws->bAlwaysUseWindowTitleAndIcon),
|
||||||
&dwSize
|
&dwSize
|
||||||
);
|
);
|
||||||
|
dwSize = sizeof(DWORD);
|
||||||
|
RegQueryValueExW(
|
||||||
|
hKey,
|
||||||
|
TEXT("ScrollWheelBehavior"),
|
||||||
|
0,
|
||||||
|
NULL,
|
||||||
|
&(sws->dwScrollWheelBehavior),
|
||||||
|
&dwSize
|
||||||
|
);
|
||||||
|
dwSize = sizeof(DWORD);
|
||||||
|
RegQueryValueExW(
|
||||||
|
hKey,
|
||||||
|
TEXT("ScrollWheelInvert"),
|
||||||
|
0,
|
||||||
|
NULL,
|
||||||
|
&(sws->bScrollWheelInvert),
|
||||||
|
&dwSize
|
||||||
|
);
|
||||||
if (sws->bIsInitialized)
|
if (sws->bIsInitialized)
|
||||||
{
|
{
|
||||||
sws_WindowSwitcher_UnregisterHotkeys(sws);
|
sws_WindowSwitcher_UnregisterHotkeys(sws);
|
||||||
|
@ -464,6 +464,11 @@
|
|||||||
;x 400 400 ms
|
;x 400 400 ms
|
||||||
;x 500 500 ms
|
;x 500 500 ms
|
||||||
"ShowDelay"=dword:00000064
|
"ShowDelay"=dword:00000064
|
||||||
|
;c 3 Use the scroll wheel to change selection
|
||||||
|
;x 0 Never (default)
|
||||||
|
;x 1 When cursor is over the switcher
|
||||||
|
;x 2 Always
|
||||||
|
"ScrollWheelBehavior"=dword:00000000
|
||||||
;q
|
;q
|
||||||
;y Learn more about Simple Window Switcher 🡕
|
;y Learn more about Simple Window Switcher 🡕
|
||||||
;https://github.com/valinet/ExplorerPatcher/wiki/Simple-Window-Switcher
|
;https://github.com/valinet/ExplorerPatcher/wiki/Simple-Window-Switcher
|
||||||
|
@ -370,6 +370,11 @@
|
|||||||
;x 400 400 ms
|
;x 400 400 ms
|
||||||
;x 500 500 ms
|
;x 500 500 ms
|
||||||
"ShowDelay"=dword:00000064
|
"ShowDelay"=dword:00000064
|
||||||
|
;c 3 Use the scroll wheel to change selection
|
||||||
|
;x 0 Never (default)
|
||||||
|
;x 1 When cursor is over the switcher
|
||||||
|
;x 2 Always
|
||||||
|
"ScrollWheelBehavior"=dword:00000000
|
||||||
;q
|
;q
|
||||||
;y Learn more about Simple Window Switcher 🡕
|
;y Learn more about Simple Window Switcher 🡕
|
||||||
;https://github.com/valinet/ExplorerPatcher/wiki/Simple-Window-Switcher
|
;https://github.com/valinet/ExplorerPatcher/wiki/Simple-Window-Switcher
|
||||||
|
2
libs/sws
2
libs/sws
@ -1 +1 @@
|
|||||||
Subproject commit 9cc6ce1b6c592b4e3f56fd0241d38ccfbaa8cd61
|
Subproject commit a8b25cd96e4481c0c89c280e07e3ee17da7f61cf
|
Loading…
x
Reference in New Issue
Block a user