Files
PowerToys/src/modules/ShortcutGuide/ShortcutGuide/ShortcutGuideSettings.h
Okami Wong 89330986f4 [Shortcut Guide] Support delayed display of shortcuts except for taskbar shortcuts (#21762)
* Implement the delayed rendering

* Impelement settings UI

* Rename

* Set the minimum of ShortcutGuide_PressTimeForTaskbarIconShortcuts to 100ms

* Separate the animations of the global windows shortcuts and the taskbar icon shortcuts

* Amend

* Handle the case when the shortcut guide is not activated by win key long press

* Remove .vscode

* Keep the user's original setting of the win key press time

* Revert the default press time to 900 ms

* Restore default as 900
2022-11-18 14:22:40 +00:00

14 lines
373 B
C++

#pragma once
#include <string>
struct ShortcutGuideSettings
{
std::wstring hotkey = L"shift+win+/";
int overlayOpacity = 90;
std::wstring theme = L"system";
std::wstring disabledApps = L"";
bool shouldReactToPressedWinKey = false;
int windowsKeyPressTimeForGlobalWindowsShortcuts = 900;
int windowsKeyPressTimeForTaskbarIconShortcuts = 900;
};