forked from Gadroc/helios
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0611 2019 - Hopefully the last code change. This is a partial rewrite…
… of the splash screen. Need to use the about from Helios in the PE, not just the CC but ran out of time.
- Loading branch information
BlueFinBima
authored and
BlueFinBima
committed
Jun 11, 2019
1 parent
4e4218b
commit c902f02
Showing
25 changed files
with
435 additions
and
306 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<Window x:Class="GadrocsWorkshop.Helios.Splash.About" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
Title="About" Height="165" Width="527" WindowStyle="None" ShowInTaskbar="False" WindowStartupLocation="Manual"> | ||
<Canvas Width="512" Margin="3.5,3.5,3.5,3.5"> | ||
<Image Source="about.png" Canvas.Left="0" Canvas.Top="0"/> | ||
<Image Name="AccentImage" Source="Icon.png" Canvas.Top="50"/> | ||
<TextBlock Canvas.Left="368" Canvas.Top="12" Height="23" Name="VersionBlock" Text="0.0.0.0" Width="132" /> | ||
<TextBlock FontWeight="Bold" Canvas.Left="293" Canvas.Top="35" Height="23" Name="ProjectLabel" Text="Project Fork:" Width="74" /> | ||
<TextBlock Canvas.Left="368" Canvas.Top="35" Height="23" Name="ProjectBlock" Text="BlueFinBima" Width="132" /> | ||
<TextBlock FontWeight="Bold" Canvas.Left="327" Canvas.Top="58" Height="23" Name="StatusLabel" Text="Status:" Width="40" /> | ||
<TextBlock Canvas.Left="368" Canvas.Top="58" Height="23" Name="StatusBlock" Text="In Development" Width="132" /> | ||
<TextBlock Foreground="DarkBlue" FontSize="14" FontWeight="SemiBold" Canvas.Left="8" Canvas.Top="84" Height="18" Name="ContributionTitle" Text="Contributors:" Width="85" /> | ||
<TextBlock Foreground="DarkBlue" FontSize="14" FontWeight="SemiBold" TextWrapping="Wrap" Canvas.Left="96" Canvas.Top="84" Height="66" Name="ContributionBlock" Text="" Width="416" /> </Canvas> | ||
</Window> |
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,55 @@ | ||
// Copyright 2014 Craig Courtney | ||
// | ||
// Helios is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// Helios is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
namespace GadrocsWorkshop.Helios.Splash | ||
{ | ||
using System; | ||
using System.Reflection; | ||
using System.Windows; | ||
using System.Windows.Input; | ||
|
||
/// <summary> | ||
/// Interaction logic for About.xaml | ||
/// </summary> | ||
public partial class About : Window | ||
{ | ||
public About() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
protected override void OnActivated(EventArgs e) | ||
{ | ||
Version _runningVersion = Assembly.GetEntryAssembly().GetName().Version; | ||
VersionBlock.Text = _runningVersion.Major.ToString() + "." + _runningVersion.Minor.ToString() + "." + _runningVersion.Build.ToString() + "." + _runningVersion.Revision.ToString("0000"); | ||
ContributionBlock.Text = "Gadroc; BlueFinBima; "; | ||
ContributionBlock.Text = ContributionBlock.Text + "CaptZeen; derammo; KiwiLostInMelb; damien022; Will Hartsell; Cylution; Rachmaninoff; yzfanimal "; | ||
StatusBlock.Text = "Released"; | ||
base.OnActivated(e); | ||
} | ||
|
||
protected override void OnKeyDown(KeyEventArgs e) | ||
{ | ||
Close(); | ||
base.OnKeyDown(e); | ||
} | ||
|
||
protected override void OnMouseDown(MouseButtonEventArgs e) | ||
{ | ||
Close(); | ||
base.OnMouseDown(e); | ||
} | ||
} | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.