<Window xmlns:props="clr-namespace:Ink_Canvas.Properties" x:Class="Ink_Canvas.QuickDrawWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Ink_Canvas"
        Topmost="True" Background="Transparent"
        mc:Ignorable="d" WindowStyle="None" AllowsTransparency="True"
        WindowStartupLocation="CenterScreen"
        Title="{x:Static props:RandomStrings.Random_QuickDraw_WindowTitle}" Height="200" Width="400" Focusable="False" ShowInTaskbar="False">


    <Border Background="{DynamicResource QuickDrawWindowBackground}" 
            CornerRadius="15" 
            BorderThickness="1" 
            BorderBrush="{DynamicResource QuickDrawWindowBorderBrush}" 
            Margin="10" 
            x:Name="MainBorder" 
            MouseLeftButtonDown="WindowDragMove">
        <Grid>
            <!-- 主要内容区域 -->
            <Grid>
                <!-- 顶部标题栏 -->
                <Grid Height="50" Background="{DynamicResource QuickDrawWindowBackground}" 
                      x:Name="TitleBar" 
                      VerticalAlignment="Top" 
                      MouseLeftButtonDown="WindowDragMove" 
                      Margin="10,8,40,0">
                    <StackPanel Orientation="Horizontal" 
                                HorizontalAlignment="Left" 
                                VerticalAlignment="Center" 
                                Margin="22,0,0,0">
                        <!-- 快抽图标 -->
                        <Path Data="M5 7C5 8.06087 5.42143 9.07828 6.17157 9.82843C6.92172 10.5786 7.93913 11 9 11C10.0609 11 11.0783 10.5786 11.8284 9.82843C12.5786 9.07828 13 8.06087 13 7C13 5.93913 12.5786 4.92172 11.8284 4.17157C11.0783 3.42143 10.0609 3 9 3C7.93913 3 6.92172 3.42143 6.17157 4.17157C5.42143 4.92172 5 5.93913 5 7Z M3 21V19C3 17.9391 3.42143 16.9217 4.17157 16.1716C4.92172 15.4214 5.93913 15 7 15H11C12.0609 15 13.0783 15.4214 13.8284 16.1716C14.5786 16.9217 15 17.9391 15 19V21 M16 3.13C16.8604 3.35031 17.623 3.85071 18.1676 4.55232C18.7122 5.25392 19.0078 6.11683 19.0078 7.005C19.0078 7.89318 18.7122 8.75608 18.1676 9.45769C17.623 10.1593 16.8604 10.6597 16 10.88 M21 21V19C20.9949 18.1172 20.6979 17.2608 20.1553 16.5644C19.6126 15.868 18.8548 15.3707 18 15.15" 
                              Stroke="{DynamicResource QuickDrawWindowTitleForeground}" 
                              StrokeThickness="2" 
                              StrokeLineJoin="Round" 
                              Fill="Transparent" 
                              Width="24" Height="24" 
                              Stretch="Uniform" 
                              Margin="0,0,8,0"/>
                        <!-- 快抽文字 -->
                        <Viewbox Stretch="Uniform" MaxWidth="100" MaxHeight="30">
                            <TextBlock Text="{x:Static props:RandomStrings.Random_QuickDraw_Title}" FontSize="20" FontWeight="Bold" 
                                       Foreground="{DynamicResource QuickDrawWindowTitleForeground}" 
                                       x:Name="TitleText"/>
                        </Viewbox>
                    </StackPanel>
                </Grid>


                <!-- 主要内容区域 -->
                <Grid Margin="20,60,20,20">
                    <!-- 结果显示区域 -->
                    <Grid x:Name="ResultGrid" HorizontalAlignment="Center" VerticalAlignment="Center">
                        <!-- 主结果显示 -->
                        <Viewbox Stretch="Uniform" MaxWidth="360" MaxHeight="120">
                            <TextBlock x:Name="MainResultDisplay"
                                       Text="{x:Static props:RandomStrings.Random_RollCall_ReadyToDraw}" 
                                       FontSize="48" 
                                       FontWeight="Bold" 
                                       Foreground="{DynamicResource QuickDrawWindowDigitForeground}" 
                                       HorizontalAlignment="Center" 
                                       VerticalAlignment="Center" 
                                       TextAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </Grid>
            </Grid>
        </Grid>
    </Border>
</Window>
