Archived
WIP: refactoring + tile layout
This commit is contained in:
1 parent
06f570122c
commit
c9edc93e40
23 files changed
+1078
-491
No files matched your search
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
|
||||
namespace AppLauncher.Models
|
||||
{
|
||||
public class TileGroupModel
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public bool IsExpanded { get; set; } = false;
|
||||
public bool IsExclusive { get; set; } = false;
|
||||
public List<TileModel> Items { get; set; } = new List<TileModel>();
|
||||
public Size GridSize = new Size(0, 0);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
|
||||
namespace AppLauncher.Models
|
||||
{
|
||||
public class TileModel
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public Image Icon { get; set; }
|
||||
public string ProcessFilename { get; set; }
|
||||
public string ProcessArgument { get; set; }
|
||||
public string ProcessWorkingDirectory { get; set; }
|
||||
public ProcessWindowStyle ProcessWindowStyle { get; set; } = ProcessWindowStyle.Normal;
|
||||
public bool ProcessAsAdmin { get; set; } = false;
|
||||
public Point Position { get; set; }
|
||||
|
||||
public bool IsGroup { get; set; } = false;
|
||||
protected List<TileModel> Items { get; set; } = new List<TileModel>();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user