mirror of
https://github.com/denglihong2007/CRSim
synced 2026-08-11 12:15:35 +08:00
feat: 引导屏模拟可调整大小
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
Background="Transparent"
|
||||
Foreground="White"
|
||||
SizeToContent="WidthAndHeight"
|
||||
ResizeMode="NoResize"
|
||||
WindowStyle="None"
|
||||
AllowsTransparency="True"
|
||||
MouseDown="Window_MouseDown"
|
||||
@@ -24,15 +23,23 @@
|
||||
<Border Grid.Column="1" Background="#E0202020" CornerRadius="8" BorderBrush="#424242"
|
||||
BorderThickness="1" Padding="4">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Source="/CRSim.ScreenSimulator;component/Assets/CRSimIcon.png" Width="30" Margin="0,0,12,0"/>
|
||||
<Image Source="/CRSim.ScreenSimulator;component/Assets/CRSimIcon.png" Width="30" Margin="0,0,16,0"/>
|
||||
<TextBlock x:Name="TimeText" FontSize="22" VerticalAlignment="Center" Margin="0,0,16,0"/>
|
||||
<TextBlock Text="" FontFamily="Segoe MDL2 Assets" FontSize="20" VerticalAlignment="Center" MouseLeftButtonDown="DecreaseSpeed"/>
|
||||
<TextBlock x:Name="SpeedText" Text="1x" FontSize="22" VerticalAlignment="Center" Margin="6,0"/>
|
||||
<TextBlock x:Name="SpeedText" Text="1x" FontSize="22" VerticalAlignment="Center" Margin="4,0"/>
|
||||
<TextBlock Text="" FontFamily="Segoe MDL2 Assets" FontSize="20" VerticalAlignment="Center" MouseLeftButtonDown="IncreaseSpeed"/>
|
||||
<TextBlock x:Name="FullScreenIcon" Text="" FontFamily="Segoe MDL2 Assets"
|
||||
FontSize="20" VerticalAlignment="Center" Margin="16,0,0,0" MouseLeftButtonDown="FullScreen"/>
|
||||
<TextBlock x:Name="RestoreWindowIcon" Text="" FontFamily="Segoe MDL2 Assets"
|
||||
FontSize="20" VerticalAlignment="Center" Margin="16,0,0,0" MouseLeftButtonDown="RestoreWindow"
|
||||
Visibility="Collapsed"/>
|
||||
<TextBlock Text="" FontFamily="Segoe MDL2 Assets" FontSize="20"
|
||||
VerticalAlignment="Center" Margin="12,0,2,0" MouseLeftButtonDown="CloseWindow"/>
|
||||
VerticalAlignment="Center" Margin="4,0,2,0" MouseLeftButtonDown="CloseWindow"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</Grid>
|
||||
<Frame x:Name="contentFrame" Margin="0,4,0,0"/>
|
||||
<Viewbox x:Name="viewbox" Stretch="None">
|
||||
<Frame x:Name="contentFrame" Margin="0,4,0,0"/>
|
||||
</Viewbox>
|
||||
</StackPanel>
|
||||
</Window>
|
||||
|
||||
Reference in New Issue
Block a user