mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-22 09:14:25 +08:00
0.2.0
组件系统
This commit is contained in:
@@ -18,6 +18,8 @@ public sealed class AppSettingsSnapshot
|
||||
|
||||
public string LanguageCode { get; set; } = "zh-CN";
|
||||
|
||||
public string? TimeZoneId { get; set; }
|
||||
|
||||
public List<string> TopStatusComponentIds { get; set; } = [];
|
||||
|
||||
public List<string> PinnedTaskbarActions { get; set; } =
|
||||
@@ -33,4 +35,6 @@ public sealed class AppSettingsSnapshot
|
||||
public int DesktopPageCount { get; set; } = 1;
|
||||
|
||||
public int CurrentDesktopSurfaceIndex { get; set; } = 0;
|
||||
|
||||
public List<DesktopComponentPlacementSnapshot> DesktopComponentPlacements { get; set; } = [];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
namespace LanMontainDesktop.Models;
|
||||
|
||||
public sealed class DesktopComponentPlacementSnapshot
|
||||
{
|
||||
public string PlacementId { get; set; } = string.Empty;
|
||||
|
||||
public int PageIndex { get; set; }
|
||||
|
||||
public string ComponentId { get; set; } = string.Empty;
|
||||
|
||||
public int Row { get; set; }
|
||||
|
||||
public int Column { get; set; }
|
||||
|
||||
public int WidthCells { get; set; } = 1;
|
||||
|
||||
public int HeightCells { get; set; } = 1;
|
||||
}
|
||||
@@ -3,6 +3,6 @@ namespace LanMontainDesktop.Models;
|
||||
public enum TaskbarActionId
|
||||
{
|
||||
MinimizeToWindows,
|
||||
OpenSettings
|
||||
OpenSettings,
|
||||
AddDesktopPage
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user