107 lines
5.2 KiB
XML
107 lines
5.2 KiB
XML
<EgtWPFLib5:EgtMainWindow x:Class="OptionWindowV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
|
|
xmlns:EgtStone3D="clr-namespace:EgtStone3D"
|
|
Title="{Binding Title}"
|
|
Icon="/Resources/EgalwareLogo.ico"
|
|
WindowStyle="None"
|
|
ResizeMode="NoResize"
|
|
WindowStartupLocation="CenterOwner"
|
|
ShowInTaskbar="False"
|
|
MinWidth="400" MinHeight="382"
|
|
Width="400" Height="412"
|
|
Style="{StaticResource Dialog_Window}">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<TabControl Margin="5,5,5,5">
|
|
<TabItem Header="{Binding GenericMsg}">
|
|
<StackPanel Margin="5,5,5,0">
|
|
<GroupBox Header="{Binding CurrentLanguageMsg}"
|
|
Margin="0,0,0,5">
|
|
<UniformGrid Rows="2" Margin="3,3,3,3">
|
|
<ComboBox ItemsSource="{Binding LanguageList, Mode=OneWay}"
|
|
Height="25"
|
|
DisplayMemberPath="Name"
|
|
SelectedItem="{Binding SelectedLanguage}"
|
|
Margin="0,2,0,5"/>
|
|
<TextBlock Text="{Binding LanguageAdvertMsg}"
|
|
TextWrapping="Wrap"
|
|
TextAlignment="Center"/>
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
<UniformGrid Columns="2"
|
|
Margin="5,2,0,5">
|
|
<TextBlock Text="{Binding TopSceneBackgroundMsg}"
|
|
VerticalAlignment="Center"/>
|
|
<Button Background="{Binding TopSceneBackground}"
|
|
Command="{Binding TopSceneBackground_Command}"
|
|
Style="{StaticResource EgtWPFLib5_InputButton}"/>
|
|
</UniformGrid>
|
|
<UniformGrid Columns="2"
|
|
Margin="5,0,0,5">
|
|
<TextBlock Text="{Binding BotSceneBackgroundMsg}" VerticalAlignment="Center"/>
|
|
<Button Background="{Binding BotSceneBackground}"
|
|
Command="{Binding BotSceneBackground_Command}"
|
|
Style="{StaticResource EgtWPFLib5_InputButton}"/>
|
|
</UniformGrid>
|
|
<UniformGrid Columns="2"
|
|
Margin="5,0,0,5">
|
|
<TextBlock Text="{Binding GridColorMsg}" VerticalAlignment="Center"/>
|
|
<Button Background="{Binding GridColor}"
|
|
Command="{Binding GridColor_Command}"
|
|
Style="{StaticResource EgtWPFLib5_InputButton}"/>
|
|
</UniformGrid>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="2*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Text="{Binding ThickLineMsg}" VerticalAlignment="Center"
|
|
Grid.Row="0" Margin="5,5,0,5"/>
|
|
<CheckBox IsChecked="{Binding ThickLine}"
|
|
Grid.Column="1" Grid.Row="0" Margin="22,5,0,5" VerticalAlignment="Center"/>
|
|
<TextBlock Text="{Binding SmoothTriMeshMsg}" VerticalAlignment="Center"
|
|
Grid.Row="1" Margin="5,5,0,5"/>
|
|
<CheckBox IsChecked="{Binding SmoothTriMesh}"
|
|
Grid.Column="1" Grid.Row="1" Margin="22,5,0,5" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<GroupBox Margin="0,0,0,5">
|
|
<GroupBox.Header>
|
|
<TextBlock Text="Tema"/>
|
|
</GroupBox.Header>
|
|
<ComboBox DisplayMemberPath="Name"
|
|
ItemsSource="{Binding Themes, Mode=OneWay}"
|
|
SelectedItem="{Binding SelectedTheme}"
|
|
Margin="0,2,0,5"
|
|
Height="25"/>
|
|
</GroupBox>
|
|
|
|
<Grid Margin="5,5,5,5">
|
|
<Button Content="{Binding UpdateLicenceMsg}"
|
|
Command="{Binding UpdateLicence_Command}"
|
|
Height="26" Margin="100,1"/>
|
|
</Grid>
|
|
</StackPanel>
|
|
</TabItem>
|
|
</TabControl>
|
|
<Button Grid.Row="1"
|
|
Command="{Binding Ok_Command}"
|
|
IsCancel="True"
|
|
Margin="0,0,2.5,0"
|
|
Style="{StaticResource RightPanel_HalfRound_Button}">
|
|
<Image Source="\Resources\Common\Ok.png"
|
|
Style="{StaticResource Button_Image}"/>
|
|
</Button>
|
|
</Grid>
|
|
|
|
</EgtWPFLib5:EgtMainWindow>
|