新增英语句子组件。优化央广网新闻组件,优化每日单词组件
This commit is contained in:
lincube
2026-03-05 20:17:28 +08:00
parent 3b71486423
commit b8643a2959
14 changed files with 1422 additions and 92 deletions

View File

@@ -30,6 +30,7 @@ public static class BuiltInComponentIds
public const string DesktopDailyPoetry = "DesktopDailyPoetry";
public const string DesktopDailyArtwork = "DesktopDailyArtwork";
public const string DesktopDailyWord = "DesktopDailyWord";
public const string DesktopDailySentence = "DesktopDailySentence";
public const string DesktopCnrDailyNews = "DesktopCnrDailyNews";
public const string DesktopWhiteboard = "DesktopWhiteboard";
public const string DesktopBlackboardLandscape = "DesktopBlackboardLandscape";

View File

@@ -234,6 +234,15 @@ public sealed class ComponentRegistry
MinHeightCells: 2,
AllowStatusBarPlacement: false,
AllowDesktopPlacement: true),
new DesktopComponentDefinition(
BuiltInComponentIds.DesktopDailySentence,
"Daily Sentence",
"TextQuote",
"Info",
MinWidthCells: 4,
MinHeightCells: 2,
AllowStatusBarPlacement: false,
AllowDesktopPlacement: true),
new DesktopComponentDefinition(
BuiltInComponentIds.DesktopCnrDailyNews,
"CNR Daily News",
@@ -242,7 +251,8 @@ public sealed class ComponentRegistry
MinWidthCells: 4,
MinHeightCells: 2,
AllowStatusBarPlacement: false,
AllowDesktopPlacement: true),
AllowDesktopPlacement: true,
ResizeMode: DesktopComponentResizeMode.Free),
new DesktopComponentDefinition(
BuiltInComponentIds.DesktopWhiteboard,
"Blackboard Portrait",