From 1992318de62e581af0cd63a342b676ef4991555d Mon Sep 17 00:00:00 2001 From: ntkrnl64 Date: Thu, 26 Mar 2026 02:26:01 +0800 Subject: [PATCH] new log page --- StarlightGUI/LogConsolePage.idl | 8 + StarlightGUI/LogConsolePage.xaml | 307 ++++++++++++++++++++++ StarlightGUI/LogConsolePage.xaml.cpp | 304 +++++++++++++++++++++ StarlightGUI/LogConsolePage.xaml.h | 57 ++++ StarlightGUI/MainWindow.xaml | 5 + StarlightGUI/MainWindow.xaml.cpp | 6 + StarlightGUI/SettingsPage.xaml | 2 +- StarlightGUI/StarlightGUI.vcxproj | 18 ++ StarlightGUI/StarlightGUI.vcxproj.filters | 15 ++ StarlightGUI/Strings/en-US/Resources.json | 19 +- StarlightGUI/Strings/zh-CN/Resources.json | 19 +- StarlightGUI/Utils/LogEntryInfo.cpp | 5 + StarlightGUI/Utils/LogEntryInfo.h | 40 +++ StarlightGUI/Utils/LogEntryInfo.idl | 15 ++ StarlightGUI/pch.h | 1 + 15 files changed, 816 insertions(+), 5 deletions(-) create mode 100644 StarlightGUI/LogConsolePage.idl create mode 100644 StarlightGUI/LogConsolePage.xaml create mode 100644 StarlightGUI/LogConsolePage.xaml.cpp create mode 100644 StarlightGUI/LogConsolePage.xaml.h create mode 100644 StarlightGUI/Utils/LogEntryInfo.cpp create mode 100644 StarlightGUI/Utils/LogEntryInfo.h create mode 100644 StarlightGUI/Utils/LogEntryInfo.idl diff --git a/StarlightGUI/LogConsolePage.idl b/StarlightGUI/LogConsolePage.idl new file mode 100644 index 0000000..47a0604 --- /dev/null +++ b/StarlightGUI/LogConsolePage.idl @@ -0,0 +1,8 @@ +namespace StarlightGUI +{ + [default_interface] + runtimeclass LogConsolePage : Microsoft.UI.Xaml.Controls.Page + { + LogConsolePage(); + } +} diff --git a/StarlightGUI/LogConsolePage.xaml b/StarlightGUI/LogConsolePage.xaml new file mode 100644 index 0000000..296785b --- /dev/null +++ b/StarlightGUI/LogConsolePage.xaml @@ -0,0 +1,307 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +