Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Commit

Permalink
modified style.
Browse files Browse the repository at this point in the history
  • Loading branch information
B1ackSand committed Oct 5, 2023
1 parent b562cb8 commit 62811e7
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 120 deletions.
88 changes: 48 additions & 40 deletions LiaoTian_Cup/Mode/DoublesModeWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
<RowDefinition Height="60" />
<RowDefinition Height="140" />
<RowDefinition Height="160" />
<RowDefinition Height="80" />
<RowDefinition Height="80" />
<RowDefinition Height="160" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>

Expand Down Expand Up @@ -161,49 +160,58 @@
</Grid>

<Grid Grid.Row="3">
<StackPanel Orientation="Horizontal">
<StackPanel.Resources>
<Style BasedOn="{StaticResource ClickableImg}" TargetType="Image">
<EventSetter Event="MouseLeftButtonDown" Handler="Factor_MouseDown" />
</Style>
</StackPanel.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>

<Label Margin="30,0,0,0" Content="{Binding [FreeMutator], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="SelectFactor1" Margin="0,0,0,0" />
<Image x:Name="SelectFactor2" />
<Image x:Name="SelectFactor3" />
<Image x:Name="SelectFactor4" />
<Image x:Name="SelectFactor5" />
<Image x:Name="SelectFactor6" />
<Image x:Name="SelectFactor7" />
<Image x:Name="SelectFactor8" />
</StackPanel>
</Grid>
<Grid Grid.Row="0">
<StackPanel Orientation="Horizontal">
<StackPanel.Resources>
<Style BasedOn="{StaticResource ClickableImg}" TargetType="Image">
<EventSetter Event="MouseLeftButtonDown" Handler="Factor_MouseDown" />
</Style>
</StackPanel.Resources>

<Grid Grid.Row="4">
<StackPanel Orientation="Horizontal">
<StackPanel.Resources>
<Style BasedOn="{StaticResource ClickableImg}" TargetType="Image">
<EventSetter Event="MouseLeftButtonDown" Handler="Commander_MouseDown" />
</Style>
</StackPanel.Resources>
<Label Margin="30,0,0,0" Content="{Binding [FreeMutator], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="SelectFactor1" Margin="0,0,0,0" />
<Image x:Name="SelectFactor2" />
<Image x:Name="SelectFactor3" />
<Image x:Name="SelectFactor4" />
<Image x:Name="SelectFactor5" />
<Image x:Name="SelectFactor6" />
<Image x:Name="SelectFactor7" />
<Image x:Name="SelectFactor8" />
</StackPanel>
</Grid>

<Label Margin="30,0,0,0" Content="{Binding [OldCommander], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="BeforeCommander1" Margin="0,0,0,0" />
<Image x:Name="BeforeCommander2" />
<Image x:Name="BeforeCommander3" />
<Image x:Name="BeforeCommander4" />
<Image x:Name="BeforeCommander5" />
<Image x:Name="BeforeCommander6" />
<Label Margin="18,0,0,0" Content="{Binding [NewCommander], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="AfterCommander1" Margin="0,0,0,0" />
<Image x:Name="AfterCommander2" />
<Image x:Name="AfterCommander3" />
<Image x:Name="AfterCommander4" />
</StackPanel>
<Grid Grid.Row="1">
<StackPanel Orientation="Horizontal">
<StackPanel.Resources>
<Style BasedOn="{StaticResource ClickableImg}" TargetType="Image">
<EventSetter Event="MouseLeftButtonDown" Handler="Commander_MouseDown" />
</Style>
</StackPanel.Resources>

<Label Margin="30,0,0,0" Content="{Binding [OldCommander], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="BeforeCommander1" Margin="0,0,0,0" />
<Image x:Name="BeforeCommander2" />
<Image x:Name="BeforeCommander3" />
<Image x:Name="BeforeCommander4" />
<Image x:Name="BeforeCommander5" />
<Image x:Name="BeforeCommander6" />
<Label Margin="18,0,0,0" Content="{Binding [NewCommander], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="AfterCommander1" Margin="0,0,0,0" />
<Image x:Name="AfterCommander2" />
<Image x:Name="AfterCommander3" />
<Image x:Name="AfterCommander4" />
</StackPanel>
</Grid>
</Grid>
</Grid>

<Grid Grid.Row="5">
<Grid Grid.Row="4">
<Grid.RowDefinitions>
<RowDefinition Height="100" />
<RowDefinition Height="100" />
Expand Down
86 changes: 46 additions & 40 deletions LiaoTian_Cup/Mode/HubModeWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
<RowDefinition Height="60" />
<RowDefinition Height="140" />
<RowDefinition Height="240" />
<RowDefinition Height="80" />
<RowDefinition Height="80" />
<RowDefinition Height="160" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>

Expand Down Expand Up @@ -196,49 +195,56 @@
</Grid>

<Grid Grid.Row="3">
<StackPanel Orientation="Horizontal">
<StackPanel.Resources>
<Style BasedOn="{StaticResource ClickableImg}" TargetType="Image">
<EventSetter Event="MouseLeftButtonDown" Handler="Factor_MouseDown" />
</Style>
</StackPanel.Resources>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>

<Label Margin="30,0,0,0" Content="{Binding [FreeMutator], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="SelectFactor1" Margin="0,0,0,0" />
<Image x:Name="SelectFactor2" />
<Image x:Name="SelectFactor3" />
<Image x:Name="SelectFactor4" />
<Image x:Name="SelectFactor5" />
<Image x:Name="SelectFactor6" />
<Image x:Name="SelectFactor7" />
<Image x:Name="SelectFactor8" />
</StackPanel>
</Grid>
<Grid Grid.Row="0">
<StackPanel Orientation="Horizontal">
<StackPanel.Resources>
<Style BasedOn="{StaticResource ClickableImg}" TargetType="Image">
<EventSetter Event="MouseLeftButtonDown" Handler="Factor_MouseDown" />
</Style>
</StackPanel.Resources>

<Grid Grid.Row="4">
<StackPanel Orientation="Horizontal">
<StackPanel.Resources>
<Style BasedOn="{StaticResource ClickableImg}" TargetType="Image">
<EventSetter Event="MouseLeftButtonDown" Handler="Commander_MouseDown" />
</Style>
</StackPanel.Resources>
<Label Margin="30,0,0,0" Content="{Binding [FreeMutator], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="SelectFactor1" Margin="0,0,0,0" />
<Image x:Name="SelectFactor2" />
<Image x:Name="SelectFactor3" />
<Image x:Name="SelectFactor4" />
<Image x:Name="SelectFactor5" />
<Image x:Name="SelectFactor6" />
<Image x:Name="SelectFactor7" />
<Image x:Name="SelectFactor8" />
</StackPanel>
</Grid>

<Label Margin="30,0,0,0" Content="{Binding [OldCommander], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="BeforeCommander1" Margin="0,0,0,0" />
<Image x:Name="BeforeCommander2" />
<Image x:Name="BeforeCommander3" />
<Image x:Name="BeforeCommander4" />
<Image x:Name="BeforeCommander5" />
<Image x:Name="BeforeCommander6" />
<Label Margin="18,0,0,0" Content="{Binding [NewCommander], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="AfterCommander1" Margin="0,0,0,0" />
<Image x:Name="AfterCommander2" />
<Image x:Name="AfterCommander3" />
<Image x:Name="AfterCommander4" />
</StackPanel>
<Grid Grid.Row="1">
<StackPanel Orientation="Horizontal">
<StackPanel.Resources>
<Style BasedOn="{StaticResource ClickableImg}" TargetType="Image">
<EventSetter Event="MouseLeftButtonDown" Handler="Commander_MouseDown" />
</Style>
</StackPanel.Resources>

<Label Margin="30,0,0,0" Content="{Binding [OldCommander], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="BeforeCommander1" Margin="0,0,0,0" />
<Image x:Name="BeforeCommander2" />
<Image x:Name="BeforeCommander3" />
<Image x:Name="BeforeCommander4" />
<Image x:Name="BeforeCommander5" />
<Image x:Name="BeforeCommander6" />
<Label Margin="18,0,0,0" Content="{Binding [NewCommander], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="AfterCommander1" Margin="0,0,0,0" />
<Image x:Name="AfterCommander2" />
<Image x:Name="AfterCommander3" />
<Image x:Name="AfterCommander4" />
</StackPanel>
</Grid>
</Grid>

<Grid Grid.Row="5">
<Grid Grid.Row="4">
<Grid.RowDefinitions>
<RowDefinition Height="100" />
<RowDefinition Height="100" />
Expand Down
88 changes: 48 additions & 40 deletions LiaoTian_Cup/Mode/USuckModeWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
<RowDefinition Height="60" />
<RowDefinition Height="140" />
<RowDefinition Height="240" />
<RowDefinition Height="80" />
<RowDefinition Height="80" />
<RowDefinition Height="160" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>

Expand Down Expand Up @@ -193,49 +192,58 @@
</Grid>

<Grid Grid.Row="3">
<StackPanel Orientation="Horizontal">
<StackPanel.Resources>
<Style BasedOn="{StaticResource ClickableImg}" TargetType="Image">
<EventSetter Event="MouseLeftButtonDown" Handler="Factor_MouseDown" />
</Style>
</StackPanel.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>

<Label Margin="30,0,0,0" Content="{Binding [FreeMutator], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="SelectFactor1" Margin="0,0,0,0" />
<Image x:Name="SelectFactor2" />
<Image x:Name="SelectFactor3" />
<Image x:Name="SelectFactor4" />
<Image x:Name="SelectFactor5" />
<Image x:Name="SelectFactor6" />
<Image x:Name="SelectFactor7" />
<Image x:Name="SelectFactor8" />
</StackPanel>
</Grid>
<Grid Grid.Row="0">
<StackPanel Orientation="Horizontal">
<StackPanel.Resources>
<Style BasedOn="{StaticResource ClickableImg}" TargetType="Image">
<EventSetter Event="MouseLeftButtonDown" Handler="Factor_MouseDown" />
</Style>
</StackPanel.Resources>

<Grid Grid.Row="4">
<StackPanel Orientation="Horizontal">
<StackPanel.Resources>
<Style BasedOn="{StaticResource ClickableImg}" TargetType="Image">
<EventSetter Event="MouseLeftButtonDown" Handler="Commander_MouseDown" />
</Style>
</StackPanel.Resources>
<Label Margin="30,0,0,0" Content="{Binding [FreeMutator], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="SelectFactor1" Margin="0,0,0,0" />
<Image x:Name="SelectFactor2" />
<Image x:Name="SelectFactor3" />
<Image x:Name="SelectFactor4" />
<Image x:Name="SelectFactor5" />
<Image x:Name="SelectFactor6" />
<Image x:Name="SelectFactor7" />
<Image x:Name="SelectFactor8" />
</StackPanel>
</Grid>

<Label Margin="30,0,0,0" Content="{Binding [OldCommander], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="BeforeCommander1" Margin="0,0,0,0" />
<Image x:Name="BeforeCommander2" />
<Image x:Name="BeforeCommander3" />
<Image x:Name="BeforeCommander4" />
<Image x:Name="BeforeCommander5" />
<Image x:Name="BeforeCommander6" />
<Label Margin="18,0,0,0" Content="{Binding [NewCommander], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="AfterCommander1" Margin="0,0,0,0" />
<Image x:Name="AfterCommander2" />
<Image x:Name="AfterCommander3" />
<Image x:Name="AfterCommander4" />
</StackPanel>
<Grid Grid.Row="1">
<StackPanel Orientation="Horizontal">
<StackPanel.Resources>
<Style BasedOn="{StaticResource ClickableImg}" TargetType="Image">
<EventSetter Event="MouseLeftButtonDown" Handler="Commander_MouseDown" />
</Style>
</StackPanel.Resources>

<Label Margin="30,0,0,0" Content="{Binding [OldCommander], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="BeforeCommander1" Margin="0,0,0,0" />
<Image x:Name="BeforeCommander2" />
<Image x:Name="BeforeCommander3" />
<Image x:Name="BeforeCommander4" />
<Image x:Name="BeforeCommander5" />
<Image x:Name="BeforeCommander6" />
<Label Margin="18,0,0,0" Content="{Binding [NewCommander], Source={x:Static local:LanguageManager.Instance}}" />
<Image x:Name="AfterCommander1" Margin="0,0,0,0" />
<Image x:Name="AfterCommander2" />
<Image x:Name="AfterCommander3" />
<Image x:Name="AfterCommander4" />
</StackPanel>
</Grid>
</Grid>
</Grid>

<Grid Grid.Row="5">
<Grid Grid.Row="4">
<Grid.RowDefinitions>
<RowDefinition Height="100" />
<RowDefinition Height="100" />
Expand Down

0 comments on commit 62811e7

Please sign in to comment.