Merge remote-tracking branch 'origin/new-hotkey-control' into new-hotkey-control

This commit is contained in:
Yusyuriv 2024-04-12 18:32:57 +06:00
commit 172764d361
No known key found for this signature in database
GPG key ID: A91C52E6F73148E0

View file

@ -68,6 +68,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);