Archived
Fixed file session manager
Added has-changed detection flag Fixed dialog result null-value Changed session manager event names
This commit is contained in:
1 parent
f06d311f40
commit
2e3b2998e7
29 files changed
+662
-3257
No files matched your search
@@ -0,0 +1,27 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
|
||||
namespace FizzyLauncher.Models
|
||||
{
|
||||
public class AppOptions
|
||||
{
|
||||
public int TilesPerRow { get; set; } = 8;
|
||||
|
||||
public bool ShowBigIcons { get; set; } = true;
|
||||
|
||||
public RyzStudio.Windows.ThemedForms.ButtonTextBox.ThKeyCodeTextBox.Results ShowToggleHotkey { get; set; } = null;
|
||||
|
||||
public bool HideOnClose { get; set; } = true;
|
||||
|
||||
public bool HideOnExecute { get; set; } = true;
|
||||
|
||||
public bool AlwaysOnTop { get; set; } = false;
|
||||
|
||||
public List<TileGroupModel> Groups { get; set; } = new List<TileGroupModel>();
|
||||
|
||||
public Point StartPosition { get; set; } = Point.Empty;
|
||||
|
||||
public int Height { get; set; } = 280;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,65 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using RyzStudio.Windows.ThemedForms.ButtonTextBox;
|
||||
|
||||
namespace FizzyLauncher.Models
|
||||
{
|
||||
public class LauncherSession
|
||||
{
|
||||
public int TilesPerRow { get; set; } = 8;
|
||||
|
||||
public bool ShowBigIcons { get; set; } = true;
|
||||
|
||||
public ThKeyCodeTextBox.Results ShowToggleHotkey { get; set; } = null;
|
||||
|
||||
public bool HideOnClose { get; set; } = true;
|
||||
|
||||
public bool HideOnExecute { get; set; } = true;
|
||||
|
||||
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;
|
||||
|
||||
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;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -10,8 +10,6 @@ namespace FizzyLauncher.Models
|
||||
|
||||
public bool IsExpanded { get; set; } = false;
|
||||
|
||||
public bool IsExclusive { get; set; } = false;
|
||||
|
||||
public List<TileModel> Items { get; set; } = new List<TileModel>();
|
||||
|
||||
[JsonConverter(typeof(RyzStudio.Text.Json.JsonSizeConverter))]
|
||||
|
||||
Reference in new issue
Block a user