Added: toggle animation

This commit is contained in:
Ray committed 2020-11-14 15:36:46 +00:00
1 parent 705c76ad76
commit fdf3ccbc1d
5 files changed
+80 -38

No files matched your search

+5 -14
View File
@@ -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;
}
}