-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCompatibilityStatsWindow.xaml
More file actions
43 lines (36 loc) · 2 KB
/
CompatibilityStatsWindow.xaml
File metadata and controls
43 lines (36 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<Window x:Class="ControllerCompatibility.CompatibilityStatsWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Controller Compatibility Statistics" Height="500" Width="700"
WindowStartupLocation="CenterScreen">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Text="Controller Compatibility Overview" FontSize="18" FontWeight="Bold" Margin="20,20,20,10" HorizontalAlignment="Center"/>
<Grid Grid.Row="1" Margin="20">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="250"/>
</Grid.ColumnDefinitions>
<!-- Pie Chart Placeholder -->
<Border Grid.Column="0" BorderBrush="Gray" BorderThickness="1" Margin="0,0,20,0">
<Canvas x:Name="PieChartCanvas" Background="White"/>
</Border>
<!-- Statistics Panel -->
<StackPanel Grid.Column="1">
<TextBlock Text="Library Statistics" FontSize="16" FontWeight="Bold" Margin="0,0,0,15"/>
<StackPanel x:Name="StatsPanel" Orientation="Vertical" Margin="0,0,0,20"/>
<Separator/>
<TextBlock Text="Connected Controllers" FontSize="14" FontWeight="Bold" Margin="0,10,0,10"/>
<StackPanel x:Name="ControllersPanel" Orientation="Vertical"/>
</StackPanel>
</Grid>
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="20">
<Button x:Name="RefreshButton" Content="Refresh Stats" Margin="0,0,10,0" Padding="15,5" Click="RefreshButton_Click"/>
<Button x:Name="CloseButton" Content="Close" Padding="15,5" IsDefault="True" Click="CloseButton_Click"/>
</StackPanel>
</Grid>
</Window>