mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
parent
7f43d85401
commit
088818bb32
2 changed files with 18 additions and 21 deletions
|
|
@ -32,6 +32,24 @@ namespace Flow.Launcher.Plugin
|
||||||
/// <returns>return true to continue handling, return false to intercept system handling</returns>
|
/// <returns>return true to continue handling, return false to intercept system handling</returns>
|
||||||
public delegate bool FlowLauncherGlobalKeyboardEventHandler(int keyevent, int vkcode, SpecialKeyState state);
|
public delegate bool FlowLauncherGlobalKeyboardEventHandler(int keyevent, int vkcode, SpecialKeyState state);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A delegate for when the visibility is changed
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="args"></param>
|
||||||
|
public delegate void VisibilityChangedEventHandler(object sender, VisibilityChangedEventArgs args);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The event args for <see cref="VisibilityChangedEventHandler"/>
|
||||||
|
/// </summary>
|
||||||
|
public class VisibilityChangedEventArgs : EventArgs
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <see langword="true"/> if the main window has become visible
|
||||||
|
/// </summary>
|
||||||
|
public bool IsVisible { get; init; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Arguments container for the Key Down event
|
/// Arguments container for the Key Down event
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace Flow.Launcher.Plugin
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// A delegate for when the visibility is changed
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="sender"></param>
|
|
||||||
/// <param name="args"></param>
|
|
||||||
public delegate void VisibilityChangedEventHandler(object sender, VisibilityChangedEventArgs args);
|
|
||||||
/// <summary>
|
|
||||||
/// The event args for <see cref="VisibilityChangedEventHandler"/>
|
|
||||||
/// </summary>
|
|
||||||
public class VisibilityChangedEventArgs : EventArgs
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// <see langword="true"/> if the main window has become visible
|
|
||||||
/// </summary>
|
|
||||||
public bool IsVisible { get; init; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue