Grabacr07 / SylphyHorn

Virtual Desktop Tools for Windows 10.
MIT License
389 stars 84 forks source link

Updates to support smooth switching (animated switching) + Configurable Theme and Accent Colors #27

Open jlubea opened 7 years ago

jlubea commented 7 years ago

Smooth switching is animated switching, which is the Windows default switch "slide" animation. It's accomplished by queuing inputs from the user, deciding which desktop they want to switch to (including wrap support), and generating the necessary key presses to make the animations happen.

Looping support was added to the VirtualDesktop library. A summary of the commit logs is below.

Configurable Theme and Accent colors in General settings pane.

Added settings toggle for smooth switching (english provided by me, and japanese provided by google translate)

ShortcutKey implements IShortcutKey interface

ShortcutKeyDetector implements IShortcutKeyDetector interface with new WaitForNoKeysPressed method

All necessary parameters passed for smooth desktop switching develop

Implementation of SuspendUntil(key count).

Only allow a single shortcutKey handler to be active at a time. Simply ignore all input until the current handler has completed.

Added ShortcutKeyAccumulator.

jlubea commented 7 years ago

It looks like you've changed the theming, so you'd have to exclude those changes. Sorry about that, you merged a pull request as I was making the theme changes on my side.

Everything else still works though as far as I can tell (the smooth switching animations).