feat: add icon resources for editor
This commit is contained in:
64
BallanceTasEditor/Views/SetupCountAndFpsDialog.xaml
Normal file
64
BallanceTasEditor/Views/SetupCountAndFpsDialog.xaml
Normal file
@@ -0,0 +1,64 @@
|
||||
<Window x:Class="BallanceTasEditor.Views.SetupCountAndFpsDialog"
|
||||
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:BallanceTasEditor.Views"
|
||||
mc:Ignorable="d" WindowStartupLocation="CenterOwner" WindowStyle="ToolWindow"
|
||||
Title="Setup Count and FPS" Height="250" Width="400">
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Grid Grid.Row="0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Grid Margin="10">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<TextBlock Grid.Column="0" Grid.Row="0" Text="Count" VerticalAlignment="Center"/>
|
||||
<TextBlock Grid.Column="0" Grid.Row="1" Text="FPS" VerticalAlignment="Center"/>
|
||||
<TextBlock Grid.Column="0" Grid.Row="2" Text="Delta Time" VerticalAlignment="Center"/>
|
||||
|
||||
<TextBox Margin="5" Padding="3" Grid.Row="0" Grid.Column="1" VerticalAlignment="Center"/>
|
||||
<TextBox Margin="5" Padding="3" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center"/>
|
||||
<TextBlock Margin="5" Padding="3" Grid.Row="2" Grid.Column="1" VerticalAlignment="Center" Text="N/A"/>
|
||||
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
<StackPanel Grid.Row="1" HorizontalAlignment="Right" Orientation="Horizontal" Margin="10">
|
||||
<Button IsDefault="True" Padding="5" Margin="5" MinWidth="80">
|
||||
<Button.Content>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<ContentControl Content="{StaticResource IconBtnOk}" Width="24" Height="24"/>
|
||||
<TextBlock Text="OK" VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
</Button.Content>
|
||||
</Button>
|
||||
<Button Padding="5" Margin="5" MinWidth="80">
|
||||
<Button.Content>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<ContentControl Content="{StaticResource IconBtnCancel}" Width="24" Height="24"/>
|
||||
<TextBlock Text="Cancel" VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
</Button.Content>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
Reference in New Issue
Block a user