From 5dc2d680fb6c03cd74a61a2c7f468c3bbabc0b53 Mon Sep 17 00:00:00 2001 From: lincube Date: Tue, 3 Mar 2026 04:56:04 +0800 Subject: [PATCH] 0.2.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 小白板,天气,时钟 --- .gitignore | 1 + LanMontainDesktop/App.axaml | 12 + .../Assets/Fonts/MiSans-Bold.ttf | Bin 0 -> 7959920 bytes .../Assets/Fonts/MiSans-NOTICE.md | 22 + .../Assets/Fonts/MiSans-Regular.ttf | Bin 0 -> 8073152 bytes .../Assets/Fonts/MiSans-Semibold.ttf | Bin 0 -> 7984932 bytes .../Assets/Weather/ATTRIBUTION.md | 29 + .../Assets/Weather/clear_day.jpg | Bin 0 -> 63818 bytes .../Assets/Weather/clear_night.jpg | Bin 0 -> 81622 bytes .../Assets/Weather/clear_sky.jpg | Bin 0 -> 63818 bytes .../Assets/Weather/cloudy_day.jpg | Bin 0 -> 87994 bytes .../Assets/Weather/cloudy_night.jpg | Bin 0 -> 71248 bytes LanMontainDesktop/Assets/Weather/fog_haze.jpg | Bin 0 -> 77695 bytes LanMontainDesktop/Assets/Weather/rain.jpg | Bin 0 -> 173385 bytes .../Assets/Weather/rain_heavy.jpg | Bin 0 -> 201542 bytes .../Assets/Weather/rain_light.jpg | Bin 0 -> 249630 bytes LanMontainDesktop/Assets/Weather/snow.jpg | Bin 0 -> 130934 bytes .../Assets/Weather/snow_soft.jpg | Bin 0 -> 198213 bytes LanMontainDesktop/Assets/Weather/storm.jpg | Bin 0 -> 67209 bytes .../Assets/Weather/storm_dark.jpg | Bin 0 -> 67209 bytes .../ComponentSystem/BuiltInComponentIds.cs | 6 + .../ComponentSystem/ComponentRegistry.cs | 54 + LanMontainDesktop/LanMontainDesktop.csproj | 1 + LanMontainDesktop/Localization/en-US.json | 85 + LanMontainDesktop/Localization/zh-CN.json | 85 + .../Models/AppSettingsSnapshot.cs | 14 + LanMontainDesktop/Models/TaskbarContext.cs | 1 + LanMontainDesktop/Models/WeatherDataModels.cs | 10 +- .../Services/IWeatherDataService.cs | 6 +- .../Services/XiaomiWeatherService.cs | 154 +- LanMontainDesktop/Styles/GlassModule.axaml | 56 + .../Components/AnalogClockWidget.axaml.cs | 2 +- .../Views/Components/ClockWidget.axaml.cs | 2 +- .../Views/Components/DateWidget.axaml | 103 +- .../Views/Components/DateWidget.axaml.cs | 426 ++++- .../DesktopComponentRuntimeRegistry.cs | 179 ++ .../Components/HolidayCalendarWidget.axaml.cs | 2 +- .../Components/HourlyWeatherWidget.axaml | 296 +++ .../Components/HourlyWeatherWidget.axaml.cs | 1630 +++++++++++++++++ .../Components/IDesktopComponentWidget.cs | 18 + .../Components/LunarCalendarWidget.axaml.cs | 58 +- .../Components/MonthCalendarWidget.axaml.cs | 50 +- .../Components/MultiDayWeatherWidget.axaml | 276 +++ .../Components/MultiDayWeatherWidget.axaml.cs | 1572 ++++++++++++++++ .../Views/Components/TimerWidget.axaml.cs | 2 +- .../Views/Components/WeatherClockWidget.axaml | 98 + .../Components/WeatherClockWidget.axaml.cs | 619 +++++++ .../Views/Components/WeatherWidget.axaml | 150 ++ .../Views/Components/WeatherWidget.axaml.cs | 1215 ++++++++++++ .../Views/Components/WhiteboardWidget.axaml | 94 + .../Components/WhiteboardWidget.axaml.cs | 361 ++++ .../Views/MainWindow.ComponentSystem.cs | 360 ++-- .../Views/MainWindow.Localization.cs | 173 ++ .../Views/MainWindow.Settings.cs | 579 +++++- LanMontainDesktop/Views/MainWindow.axaml | 267 ++- LanMontainDesktop/Views/MainWindow.axaml.cs | 49 +- LanMontainDesktop/qodana.yaml | 46 + 57 files changed, 8776 insertions(+), 387 deletions(-) create mode 100644 LanMontainDesktop/Assets/Fonts/MiSans-Bold.ttf create mode 100644 LanMontainDesktop/Assets/Fonts/MiSans-NOTICE.md create mode 100644 LanMontainDesktop/Assets/Fonts/MiSans-Regular.ttf create mode 100644 LanMontainDesktop/Assets/Fonts/MiSans-Semibold.ttf create mode 100644 LanMontainDesktop/Assets/Weather/ATTRIBUTION.md create mode 100644 LanMontainDesktop/Assets/Weather/clear_day.jpg create mode 100644 LanMontainDesktop/Assets/Weather/clear_night.jpg create mode 100644 LanMontainDesktop/Assets/Weather/clear_sky.jpg create mode 100644 LanMontainDesktop/Assets/Weather/cloudy_day.jpg create mode 100644 LanMontainDesktop/Assets/Weather/cloudy_night.jpg create mode 100644 LanMontainDesktop/Assets/Weather/fog_haze.jpg create mode 100644 LanMontainDesktop/Assets/Weather/rain.jpg create mode 100644 LanMontainDesktop/Assets/Weather/rain_heavy.jpg create mode 100644 LanMontainDesktop/Assets/Weather/rain_light.jpg create mode 100644 LanMontainDesktop/Assets/Weather/snow.jpg create mode 100644 LanMontainDesktop/Assets/Weather/snow_soft.jpg create mode 100644 LanMontainDesktop/Assets/Weather/storm.jpg create mode 100644 LanMontainDesktop/Assets/Weather/storm_dark.jpg create mode 100644 LanMontainDesktop/Views/Components/DesktopComponentRuntimeRegistry.cs create mode 100644 LanMontainDesktop/Views/Components/HourlyWeatherWidget.axaml create mode 100644 LanMontainDesktop/Views/Components/HourlyWeatherWidget.axaml.cs create mode 100644 LanMontainDesktop/Views/Components/IDesktopComponentWidget.cs create mode 100644 LanMontainDesktop/Views/Components/MultiDayWeatherWidget.axaml create mode 100644 LanMontainDesktop/Views/Components/MultiDayWeatherWidget.axaml.cs create mode 100644 LanMontainDesktop/Views/Components/WeatherClockWidget.axaml create mode 100644 LanMontainDesktop/Views/Components/WeatherClockWidget.axaml.cs create mode 100644 LanMontainDesktop/Views/Components/WeatherWidget.axaml create mode 100644 LanMontainDesktop/Views/Components/WeatherWidget.axaml.cs create mode 100644 LanMontainDesktop/Views/Components/WhiteboardWidget.axaml create mode 100644 LanMontainDesktop/Views/Components/WhiteboardWidget.axaml.cs create mode 100644 LanMontainDesktop/qodana.yaml diff --git a/.gitignore b/.gitignore index 0808c4a..d8a9d9a 100644 --- a/.gitignore +++ b/.gitignore @@ -480,3 +480,4 @@ $RECYCLE.BIN/ # Vim temporary swap files *.swp +nul diff --git a/LanMontainDesktop/App.axaml b/LanMontainDesktop/App.axaml index 8bf04af..8680e54 100644 --- a/LanMontainDesktop/App.axaml +++ b/LanMontainDesktop/App.axaml @@ -7,6 +7,10 @@ RequestedThemeVariant="Default"> + + avares://LanMontainDesktop/Assets/Fonts#MiSans + + @@ -15,6 +19,14 @@ + + + +
500 Internal Server Error

Gitea Version: 1.25.5