Skip to content

Commit

Permalink
feat: move WotogCounter settings to bottom of their respective settings
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Nov 18, 2024
1 parent 4ece6a1 commit 614fada
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 103 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,63 @@
VerticalAlignment="Center" Width="205" Value="100"
ValueChanged="SliderSecretOpacity_ValueChanged" />
</DockPanel>
<CheckBox x:Name="CheckboxOpponentCardAge" Content="{lex:Loc Options_Overlay_General_CheckBox_CardAge}"
HorizontalAlignment="Left" Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxOpponentCardAge_Checked"
Unchecked="CheckboxOpponentCardAge_Unchecked" />
<CheckBox x:Name="CheckboxOpponentCardMarks" Content="{lex:Loc Options_Overlay_General_CheckBox_CardMarks}"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxShowOpponentCardMarks_Checked"
Unchecked="CheckboxShowOpponentCardMarks_Unchecked"
HorizontalAlignment="Left" />
<CheckBox x:Name="CheckboxShowSecrets" Content="{lex:Loc Options_Overlay_General_CheckBox_PossibleSecrets}"
HorizontalAlignment="Left"
VerticalAlignment="Top" Checked="CheckboxShowSecrets_Checked"
Unchecked="CheckboxShowSecrets_Unchecked" Margin="10,5,0,0" />
<CheckBox x:Name="CheckBoxActiveEffects"
Content="{lex:LocText Options_Overlay_Opponent_CheckBox_ActiveEffects}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxActiveEffects_Checked"
Unchecked="CheckBoxActiveEffects_Unchecked" />
<CheckBox x:Name="CheckBoxCounters"
Content="{lex:LocText Options_Overlay_Player_CheckBox_Counters}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxCounters_Checked"
Unchecked="CheckBoxCounters_Unchecked" />
<CheckBox x:Name="CheckBoxRelatedCards"
Content="{lex:LocText Options_Overlay_Player_CheckBox_Related_Cards}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxRelatedCards_Checked"
Unchecked="CheckBoxRelatedCards_Unchecked" />
<CheckBox x:Name="CheckBoxAttack"
Content="{lex:LocText Options_Overlay_Opponent_CheckBox_Attack}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxAttack_Checked"
Unchecked="CheckBoxAttack_Unchecked" />
<CheckBox x:Name="CheckBoxCenterDeckVertically"
Content="{lex:LocText Options_Overlay_Opponent_CheckBox_CenterVertically}" HorizontalAlignment="Left"
ToolTip="{lex:Loc Options_Overlay_Opponent_CheckBox_CenterVertically_Tooltip}"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxCenterDeckVertically_Checked"
Unchecked="CheckBoxCenterDeckVertically_Unchecked" />
<CheckBox x:Name="CheckboxIncludeCreated"
Content="{lex:LocText Options_Overlay_Opponent_CheckBox_CreatedCards}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxIncludeCreated_Checked"
Unchecked="CheckboxIncludeCreated_Unchecked" />
<CheckBox x:Name="CheckboxHighlightDiscarded"
Content="{lex:LocText Options_Overlay_Opponent_CheckBox_DiscardedCards}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxHighlightDiscarded_Checked"
Unchecked="CheckboxHighlightDiscarded_Unchecked" />
<CheckBox x:Name="CheckboxEnableLinkOpponentDeckInNonFriendly"
Content="{lex:LocText Options_Overlay_Opponent_CheckBox_LinkOpponentDeck}" HorizontalAlignment="Left"
Margin="10,5,0,10" VerticalAlignment="Top"
Checked="CheckboxEnableLinkOpponentDeckInNonFriendly_Checked"
Unchecked="CheckboxEnableLinkOpponentDeckInNonFriendly_Unchecked" />
<hearthstoneDeckTracker:ElementSorter x:Name="ElementSorterOpponent" Margin="10,5,10,10"
Height="auto" />

<StackPanel Margin="5,5,5,0" Visibility="{Binding Visibility, Source={x:Static options:AdvancedOptions.Instance}}">
<Label Content="{lex:LocText Options_Overlay_Label_DeprecatedWotogsWarning}" Margin="-5,0,0,0" Foreground="Red" />
<CheckBox x:Name="CheckboxEnableWotogs" Content="{lex:LocText Options_Overlay_Checkbox_EnableWotogs}"
Expand Down Expand Up @@ -174,61 +231,5 @@
</ComboBox>
</DockPanel>
</StackPanel>
<CheckBox x:Name="CheckboxOpponentCardAge" Content="{lex:Loc Options_Overlay_General_CheckBox_CardAge}"
HorizontalAlignment="Left" Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxOpponentCardAge_Checked"
Unchecked="CheckboxOpponentCardAge_Unchecked" />
<CheckBox x:Name="CheckboxOpponentCardMarks" Content="{lex:Loc Options_Overlay_General_CheckBox_CardMarks}"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxShowOpponentCardMarks_Checked"
Unchecked="CheckboxShowOpponentCardMarks_Unchecked"
HorizontalAlignment="Left" />
<CheckBox x:Name="CheckboxShowSecrets" Content="{lex:Loc Options_Overlay_General_CheckBox_PossibleSecrets}"
HorizontalAlignment="Left"
VerticalAlignment="Top" Checked="CheckboxShowSecrets_Checked"
Unchecked="CheckboxShowSecrets_Unchecked" Margin="10,5,0,0" />
<CheckBox x:Name="CheckBoxActiveEffects"
Content="{lex:LocText Options_Overlay_Opponent_CheckBox_ActiveEffects}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxActiveEffects_Checked"
Unchecked="CheckBoxActiveEffects_Unchecked" />
<CheckBox x:Name="CheckBoxCounters"
Content="{lex:LocText Options_Overlay_Player_CheckBox_Counters}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxCounters_Checked"
Unchecked="CheckBoxCounters_Unchecked" />
<CheckBox x:Name="CheckBoxRelatedCards"
Content="{lex:LocText Options_Overlay_Player_CheckBox_Related_Cards}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxRelatedCards_Checked"
Unchecked="CheckBoxRelatedCards_Unchecked" />
<CheckBox x:Name="CheckBoxAttack"
Content="{lex:LocText Options_Overlay_Opponent_CheckBox_Attack}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxAttack_Checked"
Unchecked="CheckBoxAttack_Unchecked" />
<CheckBox x:Name="CheckBoxCenterDeckVertically"
Content="{lex:LocText Options_Overlay_Opponent_CheckBox_CenterVertically}" HorizontalAlignment="Left"
ToolTip="{lex:Loc Options_Overlay_Opponent_CheckBox_CenterVertically_Tooltip}"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxCenterDeckVertically_Checked"
Unchecked="CheckBoxCenterDeckVertically_Unchecked" />
<CheckBox x:Name="CheckboxIncludeCreated"
Content="{lex:LocText Options_Overlay_Opponent_CheckBox_CreatedCards}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxIncludeCreated_Checked"
Unchecked="CheckboxIncludeCreated_Unchecked" />
<CheckBox x:Name="CheckboxHighlightDiscarded"
Content="{lex:LocText Options_Overlay_Opponent_CheckBox_DiscardedCards}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxHighlightDiscarded_Checked"
Unchecked="CheckboxHighlightDiscarded_Unchecked" />
<CheckBox x:Name="CheckboxEnableLinkOpponentDeckInNonFriendly"
Content="{lex:LocText Options_Overlay_Opponent_CheckBox_LinkOpponentDeck}" HorizontalAlignment="Left"
Margin="10,5,0,10" VerticalAlignment="Top"
Checked="CheckboxEnableLinkOpponentDeckInNonFriendly_Checked"
Unchecked="CheckboxEnableLinkOpponentDeckInNonFriendly_Unchecked" />
<hearthstoneDeckTracker:ElementSorter x:Name="ElementSorterOpponent" Margin="10,5,10,10"
Height="auto" />
</StackPanel>
</UserControl>
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,54 @@
VerticalAlignment="Center" Width="205" Value="100"
ValueChanged="SliderPlayerOpacity_ValueChanged" SmallChange="1" LargeChange="10" />
</DockPanel>

<CheckBox x:Name="CheckBoxActiveEffects"
Content="{lex:LocText Options_Overlay_Player_CheckBox_ActiveEffects}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxActiveEffects_Checked"
Unchecked="CheckBoxActiveEffects_Unchecked" />
<CheckBox x:Name="CheckBoxCounters"
Content="{lex:LocText Options_Overlay_Player_CheckBox_Counters}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxCounters_Checked"
Unchecked="CheckBoxCounters_Unchecked" />
<CheckBox x:Name="CheckBoxRelatedCards"
Content="{lex:LocText Options_Overlay_Player_CheckBox_Related_Cards}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxRelatedCards_Checked"
Unchecked="CheckBoxRelatedCards_Unchecked" />
<CheckBox x:Name="CheckBoxAttack"
Content="{lex:LocText Options_Overlay_Player_CheckBox_Attack}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxAttack_Checked"
Unchecked="CheckBoxAttack_Unchecked" />
<CheckBox x:Name="CheckBoxCenterDeckVertically"
Content="{lex:LocText Options_Overlay_Player_CheckBox_CenterVertically}" HorizontalAlignment="Left"
ToolTip="{lex:LocText Options_Overlay_Player_CheckBox_CenterVertically_Tooltip}"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxCenterDeckVertically_Checked"
Unchecked="CheckBoxCenterDeckVertically_Unchecked" />
<CheckBox x:Name="CheckboxHighlightCardsInHand"
Content="{lex:LocText Options_Overlay_Player_CheckBox_HighlightHand}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxHighlightCardsInHand_Checked"
Unchecked="CheckboxHighlightCardsInHand_Unchecked" />
<CheckBox x:Name="CheckboxHighlightLastDrawn"
Content="{lex:LocText Options_Overlay_Player_CheckBox_HighlightDrawn}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxHighlightLastDrawn_Checked"
Unchecked="CheckboxHighlightLastDrawn_Unchecked" />
<CheckBox x:Name="CheckboxRemoveCards" Content="{lex:LocText Options_Overlay_Player_CheckBox_RemoveZero}"
HorizontalAlignment="Left" Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxRemoveCards_Checked"
Unchecked="CheckboxRemoveCards_Unchecked" />
<CheckBox x:Name="CheckboxShowPlayerGet" Content="{lex:LocText Options_Overlay_Player_CheckBox_IncludeCreated}"
HorizontalAlignment="Left" Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxShowPlayerGet_Checked"
Unchecked="CheckboxShowPlayerGet_Unchecked" />
<hearthstoneDeckTracker:ElementSorter x:Name="ElementSorterPlayer" Margin="10,5,10,10"
Height="auto" />

<StackPanel Margin="5,5,5,0" Visibility="{Binding Visibility, Source={x:Static options:AdvancedOptions.Instance}}">
<Label Content="{lex:LocText Options_Overlay_Label_DeprecatedWotogsWarning}" Margin="-5,0,0,0" Foreground="Red" />
<CheckBox x:Name="CheckboxEnableWotogs" Content="{lex:LocText Options_Overlay_Checkbox_EnableWotogs}"
Expand Down Expand Up @@ -150,52 +198,5 @@
</ComboBox>
</DockPanel>
</StackPanel>

<CheckBox x:Name="CheckBoxActiveEffects"
Content="{lex:LocText Options_Overlay_Player_CheckBox_ActiveEffects}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxActiveEffects_Checked"
Unchecked="CheckBoxActiveEffects_Unchecked" />
<CheckBox x:Name="CheckBoxCounters"
Content="{lex:LocText Options_Overlay_Player_CheckBox_Counters}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxCounters_Checked"
Unchecked="CheckBoxCounters_Unchecked" />
<CheckBox x:Name="CheckBoxRelatedCards"
Content="{lex:LocText Options_Overlay_Player_CheckBox_Related_Cards}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxRelatedCards_Checked"
Unchecked="CheckBoxRelatedCards_Unchecked" />
<CheckBox x:Name="CheckBoxAttack"
Content="{lex:LocText Options_Overlay_Player_CheckBox_Attack}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxAttack_Checked"
Unchecked="CheckBoxAttack_Unchecked" />
<CheckBox x:Name="CheckBoxCenterDeckVertically"
Content="{lex:LocText Options_Overlay_Player_CheckBox_CenterVertically}" HorizontalAlignment="Left"
ToolTip="{lex:LocText Options_Overlay_Player_CheckBox_CenterVertically_Tooltip}"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckBoxCenterDeckVertically_Checked"
Unchecked="CheckBoxCenterDeckVertically_Unchecked" />
<CheckBox x:Name="CheckboxHighlightCardsInHand"
Content="{lex:LocText Options_Overlay_Player_CheckBox_HighlightHand}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxHighlightCardsInHand_Checked"
Unchecked="CheckboxHighlightCardsInHand_Unchecked" />
<CheckBox x:Name="CheckboxHighlightLastDrawn"
Content="{lex:LocText Options_Overlay_Player_CheckBox_HighlightDrawn}" HorizontalAlignment="Left"
Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxHighlightLastDrawn_Checked"
Unchecked="CheckboxHighlightLastDrawn_Unchecked" />
<CheckBox x:Name="CheckboxRemoveCards" Content="{lex:LocText Options_Overlay_Player_CheckBox_RemoveZero}"
HorizontalAlignment="Left" Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxRemoveCards_Checked"
Unchecked="CheckboxRemoveCards_Unchecked" />
<CheckBox x:Name="CheckboxShowPlayerGet" Content="{lex:LocText Options_Overlay_Player_CheckBox_IncludeCreated}"
HorizontalAlignment="Left" Margin="10,5,0,0" VerticalAlignment="Top"
Checked="CheckboxShowPlayerGet_Checked"
Unchecked="CheckboxShowPlayerGet_Unchecked" />
<hearthstoneDeckTracker:ElementSorter x:Name="ElementSorterPlayer" Margin="10,5,10,10"
Height="auto" />
</StackPanel>
</UserControl>

0 comments on commit 614fada

Please sign in to comment.