Archived
Added: toggle animation
This commit is contained in:
1 parent
705c76ad76
commit
fdf3ccbc1d
5 files changed
+80
-38
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
|
||||
namespace AppLauncher.Models
|
||||
{
|
||||
@@ -25,25 +26,15 @@ namespace AppLauncher.Models
|
||||
|
||||
public int DefaultHeight { get; set; } = 280;
|
||||
public HotKeyOptions HotKey { get; set; } = null;
|
||||
|
||||
public bool AlwaysOnTop { get; set; } = false;
|
||||
public bool EnableAnimation { get; set; } = false;
|
||||
|
||||
public bool HideOnClose { get; set; } = false;
|
||||
public bool HideOnClick { get; set; } = false;
|
||||
public AutoSaveOption AutoSave { get; set; } = AutoSaveOption.Prompt;
|
||||
public List<TileGroupModel> Groups { get; set; } = new List<TileGroupModel>();
|
||||
|
||||
public LauncherSession ToSimple()
|
||||
{
|
||||
return new LauncherSession()
|
||||
{
|
||||
DefaultHeight = this.DefaultHeight,
|
||||
HotKey = this.HotKey,
|
||||
AlwaysOnTop = this.AlwaysOnTop,
|
||||
HideOnClose = this.HideOnClose,
|
||||
HideOnClick = this.HideOnClick,
|
||||
AutoSave = this.AutoSave,
|
||||
Groups = null
|
||||
};
|
||||
}
|
||||
public Point StartPosition { get; set; } = Point.Empty;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user