mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Added Show/Hide Trigger by style
This commit is contained in:
parent
7458e10174
commit
efe081b3f7
1 changed files with 23 additions and 0 deletions
|
|
@ -57,6 +57,29 @@ namespace Flow.Launcher
|
|||
Loaded += HotkeyControl_Loaded;
|
||||
}
|
||||
|
||||
/*------------------ New Logic Structure Part ------------------------*/
|
||||
|
||||
private void ToggleOn()
|
||||
{
|
||||
if (HotkeyBtn.IsChecked == true)
|
||||
{
|
||||
/* 1. Key Recording Start */
|
||||
/* 2. Key Display area clear
|
||||
* 3. Key Display when typing*/
|
||||
}
|
||||
}
|
||||
|
||||
private void StopRecPressed()
|
||||
{
|
||||
/* If Stop Button Pressed*/
|
||||
/* 1. Save the REC Keys to settings
|
||||
* 2. Reload Keys Display from settings
|
||||
* * 3. Hide MenuBorder
|
||||
* 4. Change ToggleBtn isChcked to false */
|
||||
}
|
||||
|
||||
/*------------------ New Logic Structure Part------------------------*/
|
||||
|
||||
private void HotkeyControl_LostFocus(object o, RoutedEventArgs routedEventArgs)
|
||||
{
|
||||
HotKeyMapper.SetHotkey(CurrentHotkey, Action);
|
||||
|
|
|
|||
Loading…
Reference in a new issue