109 lines
5.3 KiB
XML
109 lines
5.3 KiB
XML
<Window x:Class="BetterEN5.UI.BetterSeewoMainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:ui="clr-namespace:BetterEN5.UI"
|
|
Title="Better-Seewo"
|
|
Width="960" Height="640"
|
|
MinWidth="720" MinHeight="480"
|
|
WindowStyle="None"
|
|
ResizeMode="CanResize"
|
|
AllowsTransparency="True"
|
|
Background="Transparent"
|
|
WindowStartupLocation="CenterScreen"
|
|
FontSize="14">
|
|
<Window.Resources>
|
|
<Color x:Key="WindowBackground">#0D0D1A</Color>
|
|
<SolidColorBrush x:Key="WindowBorderBrush" Color="#30FFFFFF"/>
|
|
<SolidColorBrush x:Key="TitleBarBackground" Color="#1A1A2E"/>
|
|
<SolidColorBrush x:Key="TitleBarForeground" Color="#C0C0D0"/>
|
|
<SolidColorBrush x:Key="GlowBrush" Color="#40FFFFFF"/>
|
|
|
|
<Storyboard x:Key="FadeInStoryboard">
|
|
<DoubleAnimation Storyboard.TargetProperty="Opacity" From="0" To="1"
|
|
Duration="0:0:0.4" EasingFunction="{StaticResource Easing}"/>
|
|
</Storyboard>
|
|
<Storyboard x:Key="ScaleInStoryboard">
|
|
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="0.95" To="1"
|
|
Duration="0:0:0.4" EasingFunction="{StaticResource Easing}"/>
|
|
<DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="0.95" To="1"
|
|
Duration="0:0:0.4" EasingFunction="{StaticResource Easing}"/>
|
|
<DoubleAnimation Storyboard.TargetProperty="Opacity" From="0" To="1"
|
|
Duration="0:0:0.3" EasingFunction="{StaticResource Easing}"/>
|
|
</Storyboard>
|
|
<QuadraticEase x:Key="Easing" EasingMode="EaseOut"/>
|
|
</Window.Resources>
|
|
|
|
<Window.RenderTransform>
|
|
<ScaleTransform ScaleX="1" ScaleY="1"/>
|
|
</Window.RenderTransform>
|
|
|
|
<Border CornerRadius="12" Background="#0D0D1A" BorderBrush="{StaticResource WindowBorderBrush}"
|
|
BorderThickness="1" Padding="0">
|
|
<Border.Effect>
|
|
<DropShadowEffect BlurRadius="24" ShadowDepth="4" Opacity="0.3" Color="Black"/>
|
|
</Border.Effect>
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="36"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="24"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Grid.Row="0" Background="{StaticResource TitleBarBackground}"
|
|
CornerRadius="12,12,0,0" Padding="0">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Grid.Column="0" Text="Better-Seewo" FontSize="13"
|
|
Foreground="{StaticResource TitleBarForeground}"
|
|
VerticalAlignment="Center" Margin="14,0,0,0"/>
|
|
<StackPanel Grid.Column="1" Orientation="Horizontal" Margin="0,0,6,0">
|
|
<Button x:Name="MinimizeButton" Content="─" Width="28" Height="24"
|
|
Foreground="{StaticResource TitleBarForeground}"
|
|
Background="Transparent" BorderThickness="0"
|
|
Cursor="Hand" Click="Minimize_Click"
|
|
FontSize="12" FontFamily="Arial"/>
|
|
<Button x:Name="MaximizeButton" Content="□" Width="28" Height="24"
|
|
Foreground="{StaticResource TitleBarForeground}"
|
|
Background="Transparent" BorderThickness="0"
|
|
Cursor="Hand" Click="Maximize_Click"
|
|
FontSize="12" FontFamily="Arial"/>
|
|
<Button x:Name="CloseButton" Content="✕" Width="28" Height="24"
|
|
Foreground="{StaticResource TitleBarForeground}"
|
|
Background="Transparent" BorderThickness="0"
|
|
Cursor="Hand" Click="Close_Click"
|
|
FontSize="12" FontFamily="Arial"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<Grid Grid.Row="1">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*" MinWidth="240" MaxWidth="400"/>
|
|
<ColumnDefinition Width="1" />
|
|
<ColumnDefinition Width="3*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Border Grid.Column="0" Background="#12121E">
|
|
<ui:BetterEN5Module x:Name="En5Module"/>
|
|
</Border>
|
|
|
|
<Border Grid.Column="1" Background="#252540" Width="1" Opacity="0.5"/>
|
|
|
|
<Border Grid.Column="2" Background="#0F0F1A">
|
|
<ui:ComingSoonModule/>
|
|
</Border>
|
|
</Grid>
|
|
|
|
<Border Grid.Row="2" Background="{StaticResource TitleBarBackground}"
|
|
CornerRadius="0,0,12,12" Padding="0">
|
|
<TextBlock Text="Better-Seewo v1.1.0 · 希沃白板增强插件" FontSize="11"
|
|
Foreground="#505060" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</Border>
|
|
</Grid>
|
|
</Border>
|
|
</Window>
|