mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2025-04-23 20:39:36 +08:00
89 lines
3.1 KiB
XML
89 lines
3.1 KiB
XML
<UserControl x:Class="Oshima.FunGame.OshimaModes.CharacterStatus"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="clr-namespace:Oshima.FunGame.OshimaModes"
|
|
Width="315" Height="357">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="31" />
|
|
<RowDefinition Height="223" />
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="20" />
|
|
<RowDefinition Height="20" />
|
|
<RowDefinition Height="21" />
|
|
<RowDefinition Height="30" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- 角色名称 -->
|
|
<TextBlock x:Name="CharacterName"
|
|
Grid.Row="0"
|
|
Text="角色名称"
|
|
FontFamily="霞鹜文楷"
|
|
FontSize="14"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
|
|
<!-- 角色头像 -->
|
|
<Image x:Name="CharacterAvatar"
|
|
Grid.Row="1"
|
|
Stretch="Uniform"
|
|
Margin="0" />
|
|
|
|
<!-- HP 进度条 -->
|
|
<ProgressBar x:Name="HPBar"
|
|
Grid.Row="3"
|
|
Height="20"
|
|
Foreground="Red"
|
|
BorderBrush="Black"
|
|
BorderThickness="1"
|
|
FontFamily="霞鹜文楷"
|
|
FontSize="10.5"
|
|
FontWeight="Bold"
|
|
Value="50"
|
|
Maximum="100" />
|
|
|
|
<!-- MP 进度条 -->
|
|
<ProgressBar x:Name="MPBar"
|
|
Grid.Row="4"
|
|
Height="20"
|
|
Foreground="Blue"
|
|
BorderBrush="Black"
|
|
BorderThickness="1"
|
|
FontFamily="霞鹜文楷"
|
|
FontSize="10.5"
|
|
FontWeight="Bold"
|
|
Value="50"
|
|
Maximum="100" />
|
|
|
|
<!-- EP 进度条 -->
|
|
<ProgressBar x:Name="EPBar"
|
|
Grid.Row="5"
|
|
Height="21"
|
|
Foreground="Yellow"
|
|
BorderBrush="Black"
|
|
BorderThickness="1"
|
|
FontFamily="霞鹜文楷"
|
|
FontSize="10.5"
|
|
FontWeight="Bold"
|
|
Value="50"
|
|
Maximum="100" />
|
|
|
|
<!-- 状态图标区域 -->
|
|
<StackPanel x:Name="flowLayoutPanel1"
|
|
Grid.Row="6"
|
|
Orientation="Horizontal"
|
|
HorizontalAlignment="Left">
|
|
<Image x:Name="pictureBox1"
|
|
Width="25"
|
|
Height="25"
|
|
Margin="3"
|
|
Stretch="Uniform" />
|
|
<Image x:Name="pictureBox2"
|
|
Width="25"
|
|
Height="25"
|
|
Margin="3"
|
|
Stretch="Uniform" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</UserControl>
|