74922890c8
Replace Window with Wpf.Ui FluentWindow and integrate Wpf.Ui theme dictionaries and controls; migrate main navigation from TabControl to NavigationView with TitleBar, navigation items and view visibility management, improved startup overlay with blur/fade animations, and updated status bar. Converters now resolve brushes from application resources for theming. CpuTopologyService: add Windows API (GetLogicalProcessorInformationEx) detection, richer structures, improved HT/core type heuristics, labeling and affinity presets; fallbacks and WMI usage preserved. System tray: add ApplyTheme method, custom menu font handling and related calls. NotificationService: standardize display duration via a constant. Misc: XAML/resource adjustments, minor view/viewmodel wiring, and .gitignore updated to include implementation_plan.md.
29 lines
1.7 KiB
XML
29 lines
1.7 KiB
XML
<Application x:Class="ThreadPilot.App"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="clr-namespace:ThreadPilot"
|
|
xmlns:helpers="clr-namespace:ThreadPilot.Helpers"
|
|
xmlns:converters="clr-namespace:ThreadPilot.Converters"
|
|
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml">
|
|
<Application.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ui:ThemesDictionary Theme="Dark"/>
|
|
<ui:ControlsDictionary/>
|
|
<ResourceDictionary Source="Themes/FluentDark.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
<helpers:BytesToMbConverter x:Key="BytesToMbConverter"/>
|
|
<helpers:AffinityMaskConverter x:Key="AffinityMaskConverter"/>
|
|
<helpers:BoolToFontWeightConverter x:Key="BoolToFontWeightConverter"/>
|
|
<local:BoolToColorConverter x:Key="BoolToColorConverter"/>
|
|
<local:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter"/>
|
|
<converters:BoolToStringConverter x:Key="BoolToStringConverter"/>
|
|
<converters:BytesToStringConverter x:Key="BytesToStringConverter"/>
|
|
<converters:InverseBooleanConverter x:Key="InverseBooleanConverter"/>
|
|
<converters:NullToBoolConverter x:Key="NullToBoolConverter"/>
|
|
<local:BoolToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
|
|
<converters:StringToVisibilityConverter x:Key="StringToVisibilityConverter"/>
|
|
</ResourceDictionary>
|
|
</Application.Resources>
|
|
</Application>
|