-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
73 additions
and
37 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
Hearthstone Deck Tracker/Controls/Overlay/LinkOpponentDeckPanel.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<UserControl x:Class="Hearthstone_Deck_Tracker.Controls.Overlay.LinkOpponentDeckPanel" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
DataContext="{Binding RelativeSource={RelativeSource Self}}" | ||
xmlns:lex="http://wpflocalizeextension.codeplex.com" | ||
lex:LocalizeDictionary.DesignCulture="en" | ||
lex:ResxLocalizationProvider.DefaultAssembly="HearthstoneDeckTracker" | ||
lex:ResxLocalizationProvider.DefaultDictionary="Strings" | ||
mc:Ignorable="d"> | ||
<Border Background="#23272A" BorderBrush="#141617" BorderThickness="1" CornerRadius="3" Margin="0,5,0,0" Visibility="{Binding LinkOpponentDeckVisibility, Mode=OneWay}" MaxWidth="352" MouseEnter="Border_MouseEnter" MouseLeave="Border_MouseLeave"> | ||
<Grid> | ||
<StackPanel Margin="10"> | ||
<TextBlock Text="{lex:Loc LinkOpponentDeck_Panel_Title}" Foreground="White" FontSize="14" FontWeight="Bold"/> | ||
|
||
<TextBlock Foreground="White" FontSize="14" TextWrapping="Wrap" Visibility="{Binding DescriptorVisibility, Mode=OneWay}" Margin="0 3 0 0" Opacity=".7"> | ||
<Run Text="{lex:Loc LinkOpponentDeck_Panel_Description}"/> | ||
</TextBlock> | ||
|
||
<Button Content="{lex:Loc LinkOpponentDeck_Panel_LinkDeckButton}" Margin="0 6 0 0" | ||
Click="LinkOpponentDeck_Click" DockPanel.Dock="Right" /> | ||
|
||
<TextBlock FontSize="14" TextWrapping="Wrap" Margin="0 10 0 0" Visibility="{Binding LinkMessageVisibility}" Opacity=".7" HorizontalAlignment="Center"> | ||
<Hyperlink MouseDown="Hyperlink_MouseDown" CommandParameter="https://articles.hsreplay.net/2020/04/24/introducing-bobs-buddy/" Foreground="White"> | ||
<Run Text="Dismiss"/> | ||
</Hyperlink> | ||
</TextBlock> | ||
|
||
<TextBlock Foreground="Red" FontSize="14" TextWrapping="Wrap" Visibility="{Binding ErrorMessageVisibility}" Margin="0 10 0 0" > | ||
<Run Text="{Binding ErrorMessage, Mode=OneWay}"/> | ||
</TextBlock> | ||
|
||
</StackPanel> | ||
</Grid> | ||
</Border> | ||
</UserControl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...cker/Controls/Overlay/OpponentUpload.xaml → ...er/Controls/Overlay/OpponentDeckLink.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ck Tracker/Utility/OpponentUploadState.cs → ... Tracker/Utility/LinkOpponentDeckState.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters