@@ -814,7 +814,7 @@ private void OnClosing(object sender, System.ComponentModel.CancelEventArgs e)
814814 private const string XboxSvgPath = Common . ControllerIcons . XboxSvgPath ;
815815 private const string DS4SvgPath = Common . ControllerIcons . DS4SvgPath ;
816816 private const string VJoySvgPath = Common . ControllerIcons . VJoySvgPath ;
817- private const string MidiSvgPath = Common . ControllerIcons . MidiSvgPath ;
817+
818818
819819 /// <summary>Index in NavView.MenuItems where the first controller entry goes (after Dashboard, Profiles, Devices).</summary>
820820 private const int ControllerInsertIndex = 3 ;
@@ -844,7 +844,7 @@ private void BuildNavigationItems()
844844 {
845845 Content = "Dashboard" ,
846846 Tag = "Dashboard" ,
847- Icon = new SymbolIcon ( Symbol . Home )
847+ Icon = new FontIcon { Glyph = " \uF404 " }
848848 } ) ;
849849
850850 // Profiles.
@@ -861,7 +861,7 @@ private void BuildNavigationItems()
861861 {
862862 Content = "Devices" ,
863863 Tag = "Devices" ,
864- Icon = new SymbolIcon ( Symbol . AllApps )
864+ Icon = new FontIcon { Glyph = " \uE772 " }
865865 } ) ;
866866
867867 // Controller entries (initially none — populated dynamically).
@@ -1152,21 +1152,15 @@ private void UpdateControllerNavItemContent(NavigationViewItem menuItem, NavCont
11521152 if ( isMidi )
11531153 {
11541154 // MIDI cards show only a static MIDI icon — no type switching to game controllers.
1155- var midiIcon = new System . Windows . Shapes . Path
1155+ var midiIcon = new System . Windows . Controls . TextBlock
11561156 {
1157- Data = System . Windows . Media . Geometry . Parse ( MidiSvgPath ) ,
1158- Width = 13 ,
1159- Height = 13 ,
1160- Stretch = System . Windows . Media . Stretch . Uniform
1157+ Text = "\uE8D6 " ,
1158+ FontFamily = new System . Windows . Media . FontFamily ( "Segoe MDL2 Assets" ) ,
1159+ FontSize = 13 ,
1160+ VerticalAlignment = VerticalAlignment . Center ,
1161+ ToolTip = "MIDI"
11611162 } ;
1162- midiIcon . SetResourceReference ( System . Windows . Shapes . Shape . FillProperty , "SystemControlForegroundBaseHighBrush" ) ;
1163- row . Children . Add ( new System . Windows . Controls . Border
1164- {
1165- Child = midiIcon ,
1166- Padding = new Thickness ( 2 ) ,
1167- ToolTip = "MIDI" ,
1168- VerticalAlignment = VerticalAlignment . Center
1169- } ) ;
1163+ row . Children . Add ( midiIcon ) ;
11701164 }
11711165 else
11721166 {
@@ -2110,14 +2104,14 @@ private void ShowControllerTypePopup(UIElement anchor, PlacementMode placement =
21102104 stack . Children . Add ( vjoyBtn ) ;
21112105
21122106 // MIDI button — theme-aware icon fill.
2113- var midiPopupPath = new System . Windows . Shapes . Path
2107+ var midiPopupIcon = new System . Windows . Controls . TextBlock
21142108 {
2115- Data = System . Windows . Media . Geometry . Parse ( MidiSvgPath ) ,
2116- Width = 28 ,
2117- Height = 28 ,
2118- Stretch = System . Windows . Media . Stretch . Uniform
2109+ Text = "\uE8D6 " ,
2110+ FontFamily = new System . Windows . Media . FontFamily ( "Segoe MDL2 Assets" ) ,
2111+ FontSize = 28 ,
2112+ HorizontalAlignment = HorizontalAlignment . Center ,
2113+ VerticalAlignment = VerticalAlignment . Center
21192114 } ;
2120- midiPopupPath . SetResourceReference ( System . Windows . Shapes . Shape . FillProperty , "SystemControlForegroundBaseHighBrush" ) ;
21212115 bool midiAvailable = DriverInstaller . IsMidiServicesInstalled ( ) ;
21222116 bool midiAtCapacity = midiCount >= SettingsManager . MaxMidiSlots ;
21232117 bool midiDisabled = ! midiAvailable || midiAtCapacity ;
@@ -2126,7 +2120,7 @@ private void ShowControllerTypePopup(UIElement anchor, PlacementMode placement =
21262120 : "MIDI" ;
21272121 var midiBtn = new System . Windows . Controls . Button
21282122 {
2129- Content = midiPopupPath ,
2123+ Content = midiPopupIcon ,
21302124 ToolTip = midiTooltip ,
21312125 Background = System . Windows . Media . Brushes . Transparent ,
21322126 Padding = new Thickness ( 8 ) ,
0 commit comments