This repository has been archived on 2024-08-06. You can view files and clone it, but cannot push or open issues or pull requests.
linear-app-launcher/Models/LauncherSession.cs

65 lines
1.9 KiB
C#
Raw Normal View History

2021-07-22 23:45:30 +00:00
using System.Collections.Generic;
using System.Drawing;
using RyzStudio.Windows.ThemedForms.ButtonTextBox;
2021-07-22 23:45:30 +00:00
namespace FizzyLauncher.Models
{
public class LauncherSession
{
public int TilesPerRow { get; set; } = 8;
2021-07-22 23:45:30 +00:00
public bool ShowBigIcons { get; set; } = true;
2021-07-22 23:45:30 +00:00
public ThKeyCodeTextBox.Results ShowToggleHotkey { get; set; } = null;
2021-07-22 23:45:30 +00:00
public bool HideOnClose { get; set; } = true;
2021-07-22 23:45:30 +00:00
public bool HideOnExecute { get; set; } = true;
2021-07-22 23:45:30 +00:00
public bool AlwaysOnTop { get; set; } = false;
//public class HotKeyOptions
//{
// public bool IsCtrl { get; set; } = false;
// public bool IsAlt { get; set; } = false;
// public bool IsShift { get; set; } = false;
// public int Key { get; set; } = (int)System.Windows.Forms.Keys.None;
// public int ModifierCode => ((this.IsAlt ? 1 : 0) + (this.IsCtrl ? 2 : 0) + (this.IsShift ? 4 : 0));
// public System.Windows.Forms.Keys KeyCode => (System.Windows.Forms.Keys)this.Key;
//}
//public enum AutoSaveOption
//{
// Prompt = 0,
// Yes,
// No
//}
//public int DefaultHeight { get; set; } = 280;
//public ThKeyCodeTextBox.Results HotKey { get; set; } = null;
//public bool AlwaysOnTop { get; set; } = false;
//public bool EnableAnimation { get; set; } = false;
//public bool EnableBigIconInFolder { get; set; } = false;
//public bool HideOnClose { get; set; } = false;
//public bool HideOnClick { get; set; } = false;
//public AutoSaveOption AutoSave { get; set; } = AutoSaveOption.Prompt;
2021-07-22 23:45:30 +00:00
public List<TileGroupModel> Groups { get; set; } = new List<TileGroupModel>();
public Point StartPosition { get; set; } = Point.Empty;
public int Height { get; set; } = 280;
//public int ColumnCount { get; set; } = 8;
2021-07-22 23:45:30 +00:00
}
}