This commit is contained in:
lincube
2026-03-01 00:34:07 +08:00
parent 473a84e47b
commit f0e44c0f87
22 changed files with 3388 additions and 697 deletions

View File

@@ -29,4 +29,8 @@ public sealed class AppSettingsSnapshot
public bool EnableDynamicTaskbarActions { get; set; } = false;
public string TaskbarLayoutMode { get; set; } = "BottomFullRowMacStyle";
public int DesktopPageCount { get; set; } = 1;
public int CurrentDesktopSurfaceIndex { get; set; } = 0;
}

View File

@@ -0,0 +1,12 @@
namespace LanMontainDesktop.Models;
public sealed class StartMenuAppEntry
{
public required string DisplayName { get; init; }
public required string FilePath { get; init; }
public required string RelativePath { get; init; }
public byte[]? IconPngBytes { get; init; }
}

View File

@@ -0,0 +1,24 @@
using System.Collections.Generic;
using System.Linq;
namespace LanMontainDesktop.Models;
public sealed class StartMenuFolderNode
{
public StartMenuFolderNode(string name, string relativePath)
{
Name = name;
RelativePath = relativePath;
}
public string Name { get; }
public string RelativePath { get; }
public List<StartMenuFolderNode> Folders { get; } = [];
public List<StartMenuAppEntry> Apps { get; } = [];
public int TotalAppCount => Apps.Count + Folders.Sum(folder => folder.TotalAppCount);
}