Skip to content

Commit

Permalink
Updated UI using Material Design. Rewritten in WPF.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjon2040 committed Feb 10, 2019
1 parent 8028223 commit d5c43cb
Show file tree
Hide file tree
Showing 24 changed files with 1,358 additions and 4,631 deletions.
12 changes: 11 additions & 1 deletion README.md
Expand Up @@ -3,4 +3,14 @@ Unreal Engine 4 Binary Builder

This is a small app designed to create binary build of [Unreal Engine 4](https://www.unrealengine.com/) from [GitHub source](https://github.com/EpicGames/UnrealEngine).

![Image of Application](https://i.imgur.com/ZfSSPck.png)
![](https://img.shields.io/twitter/follow/ryanjon2040.svg?style=popout) ![](https://img.shields.io/github/last-commit/ryanjon2040/UE4-Binary-Builder.svg?style=popout) ![](https://img.shields.io/github/license/ryanjon2040/UE4-Binary-Builder.svg?style=popout) ![](https://img.shields.io/github/downloads/ryanjon2040/UE4-Binary-Builder/total.svg?style=popout)

![](https://img.shields.io/github/languages/code-size/ryanjon2040/UE4-Binary-Builder.svg?style=flat) ![](https://img.shields.io/github/repo-size/ryanjon2040/UE4-Binary-Builder.svg?style=flat)

![Screenshot](https://i.imgur.com/elLmpQe.png)

# Credits

[Material Design In XAML](https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit) by [ButchersBoy](https://github.com/ButchersBoy)

[LogViewer](https://stackoverflow.com/a/16745054) by [Federico Berasategui](https://stackoverflow.com/users/643085/federico-berasategui)
22 changes: 0 additions & 22 deletions UE4 Binary Builder.sln

This file was deleted.

646 changes: 0 additions & 646 deletions UE4 Binary Builder/MainWindow.Designer.cs

This file was deleted.

493 changes: 0 additions & 493 deletions UE4 Binary Builder/MainWindow.cs

This file was deleted.

2,940 changes: 0 additions & 2,940 deletions UE4 Binary Builder/MainWindow.resx

This file was deleted.

22 changes: 0 additions & 22 deletions UE4 Binary Builder/Program.cs

This file was deleted.

36 changes: 0 additions & 36 deletions UE4 Binary Builder/Properties/AssemblyInfo.cs

This file was deleted.

76 changes: 0 additions & 76 deletions UE4 Binary Builder/UE4 Binary Builder.exe.manifest

This file was deleted.

25 changes: 25 additions & 0 deletions UE4BinaryBuilder_WPF.sln
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.329
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unreal Binary Builder", "Unreal Binary Builder\Unreal Binary Builder.csproj", "{EF664300-FF7C-44AC-880D-D0A4FAC9F36F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EF664300-FF7C-44AC-880D-D0A4FAC9F36F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EF664300-FF7C-44AC-880D-D0A4FAC9F36F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EF664300-FF7C-44AC-880D-D0A4FAC9F36F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EF664300-FF7C-44AC-880D-D0A4FAC9F36F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6887BFB1-1DC5-47ED-9956-32536E559C00}
EndGlobalSection
EndGlobal
Expand Up @@ -2,14 +2,14 @@
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="UE4_Binary_Builder.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<section name="Unreal_Binary_Builder.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<userSettings>
<UE4_Binary_Builder.Properties.Settings>
<Unreal_Binary_Builder.Properties.Settings>
<setting name="AutomationPath" serializeAs="String">
<value />
</setting>
Expand Down Expand Up @@ -85,9 +85,6 @@
<setting name="bHostPlatformDDCOnly" serializeAs="String">
<value>True</value>
</setting>
<setting name="bForceOldCompiler" serializeAs="String">
<value>False</value>
</setting>
</UE4_Binary_Builder.Properties.Settings>
</Unreal_Binary_Builder.Properties.Settings>
</userSettings>
</configuration>
18 changes: 18 additions & 0 deletions Unreal Binary Builder/App.xaml
@@ -0,0 +1,18 @@
<Application x:Class="Unreal_Binary_Builder.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Unreal_Binary_Builder"
DispatcherUnhandledException="Application_DispatcherUnhandledException"
StartupUri="MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Dark.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />

<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.Blue.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Purple.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
16 changes: 16 additions & 0 deletions Unreal Binary Builder/App.xaml.cs
@@ -0,0 +1,16 @@
using System.Windows;

namespace Unreal_Binary_Builder
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
private void Application_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
{
MessageBox.Show("An unhandled exception just occurred: " + e.Exception.Message, "Exception", MessageBoxButton.OK, MessageBoxImage.Error);
e.Handled = true;
}
}
}
107 changes: 107 additions & 0 deletions Unreal Binary Builder/LogViewer.xaml
@@ -0,0 +1,107 @@
<UserControl x:Class="Unreal_Binary_Builder.LogViewer"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Unreal_Binary_Builder"
mc:Ignorable="d"
Height="450" Width="800">
<UserControl.Resources>
<Style TargetType="ItemsControl" x:Key="LogViewerStyle">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<ScrollViewer CanContentScroll="True">
<ItemsPresenter/>
</ScrollViewer>
</ControlTemplate>
</Setter.Value>
</Setter>

<Setter Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<VirtualizingStackPanel IsItemsHost="True"/>
</ItemsPanelTemplate>
</Setter.Value>
</Setter>
</Style>

<DataTemplate DataType="{x:Type local:LogEntry}">
<Grid IsSharedSizeScope="True">
<Grid.ColumnDefinitions>
<ColumnDefinition SharedSizeGroup="Date" Width="Auto"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>

<TextBlock Text="{Binding DateTime}" Grid.Column="0"
FontWeight="Bold" Margin="5,0,5,0"/>

<TextBlock Text="{Binding Message}" Grid.Column="2" Foreground="{Binding MessageColor}"
TextWrapping="Wrap"/>
</Grid>
</DataTemplate>

<!--<DataTemplate DataType="{x:Type local:CollapsibleLogEntry}">
<Grid IsSharedSizeScope="True">
<Grid.ColumnDefinitions>
<ColumnDefinition SharedSizeGroup="Index" Width="Auto"/>
<ColumnDefinition SharedSizeGroup="Date" Width="Auto"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<TextBlock Text="{Binding DateTime}" Grid.Column="0"
FontWeight="Bold" Margin="5,0,5,0"/>
<TextBlock Text="{Binding Index}" Grid.Column="1"
FontWeight="Bold" Margin="0,0,2,0" />
<TextBlock Text="{Binding Message}" Grid.Column="2"
TextWrapping="Wrap"/>
<ToggleButton x:Name="Expander" Grid.Row="1" Grid.Column="0"
VerticalAlignment="Top" Content="+" HorizontalAlignment="Right"/>
<ItemsControl ItemsSource="{Binding Contents}" Style="{StaticResource LogViewerStyle}"
Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2"
x:Name="Contents" Visibility="Collapsed"/>
</Grid>
<DataTemplate.Triggers>
<Trigger SourceName="Expander" Property="IsChecked" Value="True">
<Setter TargetName="Contents" Property="Visibility" Value="Visible"/>
<Setter TargetName="Expander" Property="Content" Value="-"/>
</Trigger>
</DataTemplate.Triggers>
</DataTemplate>-->
</UserControl.Resources>

<DockPanel>
<TextBlock Text="{Binding Count, StringFormat='{}{0} Items'}"
DockPanel.Dock="Top" Visibility="Collapsed"/>

<Grid>
<Rectangle Fill="#FF111111"/>
<ItemsControl ItemsSource="{Binding}" Style="{StaticResource LogViewerStyle}" Margin="10">
<ItemsControl.Template>
<ControlTemplate>
<ScrollViewer CanContentScroll="True" ScrollChanged="ScrollViewer_ScrollChanged">
<ItemsPresenter/>
</ScrollViewer>
</ControlTemplate>
</ItemsControl.Template>
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel IsItemsHost="True"/>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
</ItemsControl>
</Grid>

</DockPanel>
</UserControl>

0 comments on commit d5c43cb

Please sign in to comment.