From 0fda637065c134a4cba96cab8d60a0bdd66877ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=97=AD?= <34770031+Blinue@users.noreply.github.com> Date: Mon, 9 Oct 2023 21:55:18 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BC=98=E5=8C=96=E6=B8=85=E5=8D=95?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=9A=84=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Magpie.App/App.cpp | 6 ------ src/Magpie.App/CaptionButtonsControl.idl | 1 - src/Magpie/app.manifest | 22 ++++++++++++++-------- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/src/Magpie.App/App.cpp b/src/Magpie.App/App.cpp index e9ef56d2a..ed8ecd901 100644 --- a/src/Magpie.App/App.cpp +++ b/src/Magpie.App/App.cpp @@ -50,12 +50,6 @@ App::App() { } LocalizationService::Get().EarlyInitialize(); - - // 根据操作系统选择图标字体 - Resources().Insert( - box_value(L"SymbolThemeFontFamily"), - FontFamily(isWin11 ? L"Segoe Fluent Icons" : L"Segoe MDL2 Assets") - ); } App::~App() { diff --git a/src/Magpie.App/CaptionButtonsControl.idl b/src/Magpie.App/CaptionButtonsControl.idl index ccc90ed69..e3e14de69 100644 --- a/src/Magpie.App/CaptionButtonsControl.idl +++ b/src/Magpie.App/CaptionButtonsControl.idl @@ -1,5 +1,4 @@ namespace Magpie.App { - // 为简单起见,确保这些值与 WM_NCHITTEST 所使用的值相同 enum CaptionButton { Minimize = 8, // HTMINBUTTON Maximize = 9, // HTMAXBUTTON diff --git a/src/Magpie/app.manifest b/src/Magpie/app.manifest index 36416dfef..d58a747ec 100644 --- a/src/Magpie/app.manifest +++ b/src/Magpie/app.manifest @@ -13,27 +13,33 @@ - - + + + + + + - + - - - + true + PerMonitorV2 + SegmentHeap - + - + + +