自习组件加入
This commit is contained in:
lincube
2026-03-04 11:28:59 +08:00
parent 3d22c04a04
commit 55852a2cb8
16 changed files with 1343 additions and 60 deletions

View File

@@ -13,6 +13,8 @@ public static class BuiltInComponentIds
public const string DesktopClassSchedule = "DesktopClassSchedule";
public const string DesktopMusicControl = "DesktopMusicControl";
public const string DesktopAudioRecorder = "DesktopAudioRecorder";
public const string DesktopStudyEnvironment = "DesktopStudyEnvironment";
public const string DesktopStudyNoiseCurve = "DesktopStudyNoiseCurve";
public const string Blank2x4 = "Blank2x4";
public const string Date = "Date";
public const string MonthCalendar = "MonthCalendar";

View File

@@ -121,6 +121,24 @@ public sealed class ComponentRegistry
MinHeightCells: 2,
AllowStatusBarPlacement: false,
AllowDesktopPlacement: true),
new DesktopComponentDefinition(
BuiltInComponentIds.DesktopStudyEnvironment,
"Study Environment",
"MicOn",
"Study",
MinWidthCells: 2,
MinHeightCells: 1,
AllowStatusBarPlacement: false,
AllowDesktopPlacement: true),
new DesktopComponentDefinition(
BuiltInComponentIds.DesktopStudyNoiseCurve,
"Noise Curve",
"DataLine",
"Study",
MinWidthCells: 4,
MinHeightCells: 2,
AllowStatusBarPlacement: false,
AllowDesktopPlacement: true),
new DesktopComponentDefinition(
BuiltInComponentIds.DesktopDailyPoetry,
"Daily Poetry",