Added social icons and links to About window

This commit is contained in:
Travis Nickles 2020-03-12 08:00:42 -05:00
parent f263397ac0
commit bc1a4a8b43
12 changed files with 88 additions and 1 deletions

View File

@ -8,7 +8,45 @@
Title="Hotkeys/About" Height="450" Width="800"> Title="Hotkeys/About" Height="450" Width="800">
<DockPanel> <DockPanel>
<Label x:Name="headerLb" Content="DS4Windows - Ryochan7 Build (Version " DockPanel.Dock="Top" HorizontalAlignment="Center" /> <Label x:Name="headerLb" Content="DS4Windows - Ryochan7 Build (Version " DockPanel.Dock="Top" HorizontalAlignment="Center" />
<TextBlock DockPanel.Dock="Top" HorizontalAlignment="Center"> <StackPanel Orientation="Horizontal" DockPanel.Dock="Top" HorizontalAlignment="Center" Margin="0,4,0,0">
<Button x:Name="youtubeSocialBtn" Click="YoutubeSocialBtn_Click"
BorderBrush="{x:Null}" Background="{x:Null}" Cursor="Hand" ToolTip="YouTube">
<Image Source="/DS4Windows;component/Resources/social/youtube_social_icon_red.png" Height="32" />
</Button>
<Button x:Name="bitchuteSocialBtn" Click="BitchuteSocialBtn_Click" Margin="4,0,0,0"
BorderBrush="{x:Null}" Background="{x:Null}" Cursor="Hand" ToolTip="BitChute">
<Image Source="/DS4Windows;component/Resources/social/bitchute.png" Height="32" />
</Button>
<Button x:Name="bittubeSocialBtn" Click="BittubeSocialBtn_Click"
BorderBrush="{x:Null}" Margin="4,0,0,0" Background="{x:Null}" Cursor="Hand" ToolTip="Bittube">
<Image Source="/DS4Windows;component/Resources/social/bittube.png" Height="32" />
</Button>
<Button x:Name="lbrySocialBtn" Click="LbrySocialBtn_Click"
BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{x:Null}" Cursor="Hand" Margin="4,0,0,0" ToolTip="LBRY">
<Image Source="/DS4Windows;component/Resources/social/lbrylogo.png" Height="32" Margin="4,0,0,0" />
</Button>
<Button x:Name="discordSocialBtn" Click="DiscordSocialBtn_Click"
BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{x:Null}" Cursor="Hand" Margin="4,0,0,0" ToolTip="Discord">
<Image Source="/DS4Windows;component/Resources/social/discord.png" Height="32" Margin="4,0,0,0" />
</Button>
<Button x:Name="twitterSocialBtn" Click="TwitterSocialBtn_Click"
BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{x:Null}" Cursor="Hand" Margin="4,0,0,0" ToolTip="Twitter">
<Image Source="/DS4Windows;component/Resources/social/twitter_logo_initial.png" Height="32" Margin="4,0,0,0" />
</Button>
<Button x:Name="mastodonSocialBtn" Click="MastodonSocialBtn_Click"
BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{x:Null}" Cursor="Hand" Margin="4,0,0,0" ToolTip="Mastodon">
<Image Source="/DS4Windows;component/Resources/social/mastodon.png" Height="32" Margin="4,0,0,0" />
</Button>
<Button x:Name="frogSiteSocialBtn" BorderBrush="{x:Null}" Background="{x:Null}"
Foreground="{x:Null}" Margin="4,0,0,0" Style="{StaticResource NoBGHoverBtn}" ToolTip="@ds4windows">
<Image Source="/DS4Windows;component/Resources/social/frog_site_logo.png" Height="32" Margin="4,0,0,0" />
</Button>
<Button x:Name="mindsSocialBtn" Click="MindsSocialBtn_Click"
BorderBrush="{x:Null}" Background="{x:Null}" Foreground="{x:Null}" Cursor="Hand" Margin="4,0,0,0" ToolTip="Minds">
<Image Source="/DS4Windows;component/Resources/social/minds.png" Height="32" Margin="4,0,0,0" />
</Button>
</StackPanel>
<TextBlock DockPanel.Dock="Top" HorizontalAlignment="Center" Margin="0,4,0,0">
<Hyperlink x:Name="changeLogLink" Click="ChangeLogLink_Click">Changelog</Hyperlink> <Hyperlink x:Name="changeLogLink" Click="ChangeLogLink_Click">Changelog</Hyperlink>
</TextBlock> </TextBlock>
<TabControl> <TabControl>

View File

@ -60,5 +60,45 @@ namespace DS4WinWPF.DS4Forms
{ {
Util.StartProcessInExplorer("https://code.google.com/r/brianfundakowskifeldman-ds4windows/"); Util.StartProcessInExplorer("https://code.google.com/r/brianfundakowskifeldman-ds4windows/");
} }
private void YoutubeSocialBtn_Click(object sender, RoutedEventArgs e)
{
Util.StartProcessInExplorer("https://www.youtube.com/channel/UCIoUA_XLlCSZbvZGeg3Byeg");
}
private void BitchuteSocialBtn_Click(object sender, RoutedEventArgs e)
{
Util.StartProcessInExplorer("https://www.bitchute.com/channel/uE2CbiV96u1k/");
}
private void BittubeSocialBtn_Click(object sender, RoutedEventArgs e)
{
Util.StartProcessInExplorer("https://bittube.tv/profile/ds4windows");
}
private void LbrySocialBtn_Click(object sender, RoutedEventArgs e)
{
Util.StartProcessInExplorer("https://lbry.tv/@ds4windows");
}
private void TwitterSocialBtn_Click(object sender, RoutedEventArgs e)
{
Util.StartProcessInExplorer("https://twitter.com/ds4windows");
}
private void MastodonSocialBtn_Click(object sender, RoutedEventArgs e)
{
Util.StartProcessInExplorer("https://fosstodon.org/@ds4windows");
}
private void MindsSocialBtn_Click(object sender, RoutedEventArgs e)
{
Util.StartProcessInExplorer("https://www.minds.com/ds4windows/");
}
private void DiscordSocialBtn_Click(object sender, RoutedEventArgs e)
{
Util.StartProcessInExplorer("https://discord.gg/zrpPgyN");
}
} }
} }

View File

@ -435,6 +435,15 @@
<Content Include="BezierCurveEditor\index.html"> <Content Include="BezierCurveEditor\index.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Resource Include="Resources\social\bitchute.png" />
<Resource Include="Resources\social\youtube_social_icon_red.png" />
<Resource Include="Resources\social\twitter_logo_initial.png" />
<Resource Include="Resources\social\minds.png" />
<Resource Include="Resources\social\mastodon.png" />
<Resource Include="Resources\social\lbrylogo.png" />
<Resource Include="Resources\social\frog_site_logo.png" />
<Resource Include="Resources\social\discord.png" />
<Resource Include="Resources\social\bittube.png" />
<Resource Include="Resources\rainbowCCrop.png" /> <Resource Include="Resources\rainbowCCrop.png" />
<Resource Include="Resources\rainbowC.png" /> <Resource Include="Resources\rainbowC.png" />
<Resource Include="Resources\DS4 lightbar.png" /> <Resource Include="Resources\DS4 lightbar.png" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB