Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Revamped settings page, added screenshots.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabisonfire committed Nov 18, 2016
1 parent 9d2ed45 commit 186f0ea
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 37 deletions.
85 changes: 54 additions & 31 deletions MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,23 @@
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:local="clr-namespace:Steam_Game_Launcher"
mc:Ignorable="d"
Title="Settings" Height="475.682" Width="718.808" ResizeMode="NoResize" Initialized="fmSettings_Initialized" ShowInTaskbar="False" Background="#FFDADADA" WindowStartupLocation="CenterScreen" Closing="fmSettings_Closing" Icon="/Resources/icon.ico">
Title="Settings" Height="437.682" Width="721.808" ResizeMode="NoResize" Initialized="fmSettings_Initialized" ShowInTaskbar="False" Background="#FFDADADA" WindowStartupLocation="CenterScreen" Closing="fmSettings_Closing" Icon="/Resources/icon.ico">
<Grid RenderTransformOrigin="0.514,0.515" Margin="0,0,0,-19">
<Button x:Name="btLauncher" Content="Launch" HorizontalAlignment="Left" Margin="17,414,0,0" VerticalAlignment="Top" Width="318" Click="btLauncher_Click"/>
<ListBox x:Name="lbLog" HorizontalAlignment="Left" Height="132" Margin="17,10,0,0" VerticalAlignment="Top" Width="318"/>
<Button x:Name="btLauncher" Content="Launch" HorizontalAlignment="Left" Margin="16,364,0,0" VerticalAlignment="Top" Width="673" Click="btLauncher_Click"/>
<ListBox x:Name="lbLog" HorizontalAlignment="Left" Height="73" Margin="16,43,0,0" VerticalAlignment="Top" Width="318"/>
<GroupBox x:Name="groupBox" Header="Icon Size" HorizontalAlignment="Left" Margin="371,15,0,0" VerticalAlignment="Top" Height="71" Width="115">
<StackPanel HorizontalAlignment="Left" Height="50" VerticalAlignment="Top" Width="102" Margin="0,0,0,2">
<RadioButton x:Name="rb64" Content="64px(small)" Click="setIconSize"/>
<RadioButton x:Name="rb128" Content="128px(medium)" IsChecked="True" Click="setIconSize"/>
<RadioButton x:Name="rb256" Content="256px (large)" Click="setIconSize"/>
</StackPanel>
</GroupBox>
<Label x:Name="label1" Content="Panel Margins" HorizontalAlignment="Left" Margin="391,269,0,0" VerticalAlignment="Top" ToolTip="Margins all around the icon's ensemble"/>
<TextBox x:Name="tbPanelMarginTop" HorizontalAlignment="Left" Height="23" Margin="423,242,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins"/>
<TextBox x:Name="tbPanelMarginRight" HorizontalAlignment="Left" Height="23" Margin="475,273,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins"/>
<TextBox x:Name="tbPanelMarginLeft" HorizontalAlignment="Left" Height="23" Margin="360,273,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins"/>
<TextBox x:Name="tbPanelMarginBottom" HorizontalAlignment="Left" Height="23" Margin="423,301,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins"/>
<Label x:Name="label1_Copy" Content="Icons Spacing" HorizontalAlignment="Left" Margin="570,270,0,0" VerticalAlignment="Top" ToolTip="The spacing between the icons"/>
<TextBox x:Name="tbIconSpacingTop" HorizontalAlignment="Left" Height="23" Margin="596,242,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins"/>
<TextBox x:Name="tbIconSpacingRight" HorizontalAlignment="Left" Height="23" Margin="654,274,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins"/>
<TextBox x:Name="tbIconSpacingLeft" HorizontalAlignment="Left" Height="23" Margin="539,273,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins"/>
<TextBox x:Name="tbIconSpacingBottom" HorizontalAlignment="Left" Height="23" Margin="596,301,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins"/>
<Button x:Name="btFont" Content="Change Font" HorizontalAlignment="Left" Margin="408,202,0,0" VerticalAlignment="Top" Width="90" Click="btFont_Click"/>
<TextBox x:Name="tbBackground" HorizontalAlignment="Left" Height="23" Margin="17,337,0,0" VerticalAlignment="Top" Width="237" MaxLines="1" IsReadOnly="True" VerticalContentAlignment="Center"/>
<Slider x:Name="slOpacity" HorizontalAlignment="Left" Margin="16,391,0,0" VerticalAlignment="Top" Width="280" Maximum="100" ValueChanged="slOpacity_ValueChanged"/>
<Label x:Name="label2" Content="Background:" HorizontalAlignment="Left" Margin="17,311,0,0" VerticalAlignment="Top"/>
<Button x:Name="btBgBrowse" Content="Browse" HorizontalAlignment="Left" Margin="260,337,0,0" VerticalAlignment="Top" Width="75" Click="btBgBrowse_Click" Height="23"/>
<Label x:Name="label3" Content="Opacity:" HorizontalAlignment="Left" Margin="16,365,0,0" VerticalAlignment="Top"/>
<Label x:Name="lblOpacity" Content="00" HorizontalAlignment="Left" Margin="301,387,0,0" VerticalAlignment="Top"/>
<xctk:ColorPicker x:Name="colorPicker" Margin="570,202,70,229" Closed="colorPicker_Closed" />
<TextBox x:Name="tbShortcut" HorizontalAlignment="Left" Height="23" Margin="588,150,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="100" PreviewKeyDown="tbShortcut_PreviewKeyDown" IsReadOnly="True" TextAlignment="Center" VerticalContentAlignment="Center"/>
<Label x:Name="label4" Content="Shortcut" HorizontalAlignment="Left" Margin="528,147,0,0" VerticalAlignment="Top"/>
<TextBox x:Name="tbModifier" HorizontalAlignment="Left" Height="23" Margin="431,150,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="92" IsReadOnly="True" PreviewKeyDown="tbModifier_PreviewKeyDown" TextAlignment="Center" VerticalContentAlignment="Center"/>
<Label x:Name="label5" Content="Modifier" HorizontalAlignment="Left" Margin="371,147,0,0" VerticalAlignment="Top"/>
<TextBox x:Name="tbBackground" HorizontalAlignment="Left" Height="23" Margin="16,272,0,0" VerticalAlignment="Top" Width="237" MaxLines="1" IsReadOnly="True" VerticalContentAlignment="Center"/>
<Slider x:Name="slOpacity" HorizontalAlignment="Left" Margin="15,326,0,0" VerticalAlignment="Top" Width="296" Maximum="100" ValueChanged="slOpacity_ValueChanged"/>
<Label x:Name="label2" Content="Background:" HorizontalAlignment="Left" Margin="16,246,0,0" VerticalAlignment="Top"/>
<Button x:Name="btBgBrowse" Content="Browse" HorizontalAlignment="Left" Margin="259,272,0,0" VerticalAlignment="Top" Width="75" Click="btBgBrowse_Click" Height="23"/>
<Label x:Name="label3" Content="Opacity:" HorizontalAlignment="Left" Margin="15,300,0,0" VerticalAlignment="Top"/>
<Label x:Name="lblOpacity" Content="00" HorizontalAlignment="Left" Margin="311,323,0,0" VerticalAlignment="Top"/>
<GroupBox x:Name="groupBox1" Header="Options" HorizontalAlignment="Left" Margin="505,15,0,0" VerticalAlignment="Top" Height="82" Width="184">
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Width="165">
<CheckBox x:Name="cbSkipSettings" Content="Don't show settings page" HorizontalAlignment="Left" VerticalAlignment="Top" Width="159" ToolTip="Hide this page on run"/>
Expand All @@ -47,11 +31,50 @@
<CheckBox x:Name="cbHideRandom" Content="Hide &quot;Random&quot; icon" HorizontalAlignment="Left" VerticalAlignment="Top" Width="159" Click="cbHideRandom_Click"/>
</StackPanel>
</GroupBox>
<Label x:Name="label6" Content="Font Color" HorizontalAlignment="Left" Margin="504,196,0,0" VerticalAlignment="Top" Height="33" VerticalContentAlignment="Center"/>
<Label x:Name="label7" Content="Launcher toggle:" HorizontalAlignment="Left" Margin="371,124,0,0" VerticalAlignment="Top"/>
<ListBox x:Name="lbHidden" HorizontalAlignment="Left" Height="100" Margin="17,186,0,0" VerticalAlignment="Top" Width="318" SelectionChanged="lbHidden_SelectionChanged"/>
<Button x:Name="btAddHidden" Content="Remove Selected" HorizontalAlignment="Left" Margin="17,291,0,0" VerticalAlignment="Top" Width="318" Click="btAddHidden_Click"/>
<Label x:Name="label8" Content="Hidden Apps:" HorizontalAlignment="Left" Margin="17,155,0,0" VerticalAlignment="Top"/>
<Label x:Name="lblName" Content="Make a selection" HorizontalAlignment="Left" Margin="101,155,0,0" VerticalAlignment="Top" Width="145" Height="29"/>
<ListBox x:Name="lbHidden" HorizontalAlignment="Left" Height="60" Margin="17,152,0,0" VerticalAlignment="Top" Width="318" SelectionChanged="lbHidden_SelectionChanged"/>
<Button x:Name="btAddHidden" Content="Unhide selected app" HorizontalAlignment="Left" Margin="16,217,0,0" VerticalAlignment="Top" Width="318" Click="btAddHidden_Click"/>
<Label x:Name="label8" Content="Hidden Apps:" HorizontalAlignment="Left" Margin="16,121,0,0" VerticalAlignment="Top"/>
<Label x:Name="lblName" Content="Make a selection" HorizontalAlignment="Left" Margin="97,121,0,0" VerticalAlignment="Top" Width="145" Height="29"/>
<GroupBox x:Name="groupBox2" Header="Toggle" HorizontalAlignment="Left" Height="50" Margin="371,97,0,0" VerticalAlignment="Top" Width="318">
<WrapPanel HorizontalAlignment="Left" Margin="0,0,-2,0" VerticalAlignment="Top" Width="308" Height="30">
<Label x:Name="label4" Content="Shortcut" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<TextBox x:Name="tbShortcut" HorizontalAlignment="Center" Height="23" TextWrapping="Wrap" VerticalAlignment="Center" Width="100" PreviewKeyDown="tbShortcut_PreviewKeyDown" IsReadOnly="True" TextAlignment="Center" VerticalContentAlignment="Center"/>
<Label x:Name="label5" Content="Modifier" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<TextBox x:Name="tbModifier" HorizontalAlignment="Center" Height="23" TextWrapping="Wrap" VerticalAlignment="Center" Width="92" IsReadOnly="True" PreviewKeyDown="tbModifier_PreviewKeyDown" TextAlignment="Center" VerticalContentAlignment="Center"/>
</WrapPanel>

</GroupBox>
<GroupBox x:Name="groupBox3" Header="Font" HorizontalAlignment="Left" Margin="371,152,0,0" VerticalAlignment="Top" Height="60" Width="318">
<WrapPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Top">
<Button x:Name="btFont" Content="Change Font" HorizontalAlignment="Left" VerticalAlignment="Center" Width="90" Click="btFont_Click"/>
<Label x:Name="label6" Content="Font Color" HorizontalAlignment="Center" VerticalAlignment="Center" Height="33" VerticalContentAlignment="Center"/>
<xctk:ColorPicker x:Name="colorPicker" Closed="colorPicker_Closed" Width="90" ScrollViewer.VerticalScrollBarVisibility="Disabled" VerticalContentAlignment="Center" Height="35" HorizontalAlignment="Center" VerticalAlignment="Center" >
<xctk:ColorPicker.CacheMode>
<BitmapCache/>
</xctk:ColorPicker.CacheMode>
</xctk:ColorPicker>
</WrapPanel>
</GroupBox>
<GroupBox x:Name="groupBox4" Header="Margins &amp; Spacing" HorizontalAlignment="Left" Margin="371,217,0,0" VerticalAlignment="Top" Height="132" Width="318">
<DockPanel HorizontalAlignment="Center" LastChildFill="False" Margin="0" VerticalAlignment="Center">
<DockPanel HorizontalAlignment="Left" Height="90" LastChildFill="True" Margin="0" VerticalAlignment="Top" Width="150">
<TextBox x:Name="tbPanelMarginTop" DockPanel.Dock="Top" HorizontalAlignment="Center" Height="23" TextWrapping="Wrap" VerticalAlignment="Center" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins"/>
<TextBox x:Name="tbPanelMarginBottom" DockPanel.Dock="Bottom" TextWrapping="Wrap" VerticalAlignment="Center" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins" Height="23" HorizontalAlignment="Center" Width="31"/>
<TextBox x:Name="tbPanelMarginRight" DockPanel.Dock="Right" HorizontalAlignment="Center" Height="23" TextWrapping="Wrap" VerticalAlignment="Center" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins" />
<TextBox x:Name="tbPanelMarginLeft" DockPanel.Dock="Left" HorizontalAlignment="Center" Height="23" TextWrapping="Wrap" VerticalAlignment="Center" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins"/>

<Label x:Name="label1" Content="Panel Margins" HorizontalAlignment="Center" Margin="0" VerticalAlignment="Center" ToolTip="Margins all around the icon's ensemble"/>
</DockPanel>
<DockPanel HorizontalAlignment="Left" Height="90" LastChildFill="True" Margin="0" VerticalAlignment="Top" Width="150" DockPanel.Dock="Right">
<TextBox x:Name="tbIconSpacingTop" HorizontalAlignment="Center" Height="23" TextWrapping="Wrap" VerticalAlignment="Center" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins" DockPanel.Dock="Top"/>
<TextBox x:Name="tbIconSpacingBottom" HorizontalAlignment="Center" Height="23" Margin="0" TextWrapping="Wrap" VerticalAlignment="Center" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins" DockPanel.Dock="Bottom"/>
<TextBox x:Name="tbIconSpacingRight" HorizontalAlignment="Center" Height="23" Margin="0" TextWrapping="Wrap" VerticalAlignment="Center" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins" DockPanel.Dock="Right"/>
<TextBox x:Name="tbIconSpacingLeft" HorizontalAlignment="Center" Height="23" Margin="0" TextWrapping="Wrap" VerticalAlignment="Center" Width="31" PreviewTextInput="tbPanelMargin_PreviewTextInput" MaxLines="5" Text="0" TextAlignment="Center" VerticalContentAlignment="Center" TextChanged="SaveSpacingMargins" DockPanel.Dock="Left"/>
<Label x:Name="label1_Copy" Content="Icons Spacing" HorizontalAlignment="Center" Margin="0" VerticalAlignment="Center" ToolTip="The spacing between the icons"/>
</DockPanel>
</DockPanel>
</GroupBox>
<Label x:Name="label8_Copy" Content="Status:" HorizontalAlignment="Left" Margin="16,17,0,0" VerticalAlignment="Top"/>

</Grid>
</Window>
2 changes: 1 addition & 1 deletion MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public partial class MainWindow : Window

const string SETTINGS_FILE = "userconfig.ini";
public const string APPNAME = "SteamGameLauncher";
const string APPVER = "0.5 BETA";
const string APPVER = "1.0";

public MainWindow()
{
Expand Down
Binary file added Screenshots/main2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Screenshots/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# SteamGameLauncher

SteamGameLauncher creates a beautiful interface for your installed games. Simply point to your steam library and let it do the rest.
SteamGameLauncher creates a launch pad for your installed games.

- Customizable
- Automatic icons download
- Lists only installed games!
- Launch a random game

[Download Here](https://github.com/Gabisonfire/SteamGameLauncher/releases/latest)

![Not found](/Screenshots/main.png?raw=true "Launcher")

[Download Here](https://github.com/Gabisonfire/SteamGameLauncher/releases/latest)
![Not found](/Screenshots/main2.png?raw=true "Launcher")

### Installation
Installation is really easy, just extract the archive to any directory. Use a directory you have write access to write the config file. You will need to have the *.NET Framework 4.5* installed. Launch SteamGameLauncher.exe.
Expand All @@ -19,7 +20,6 @@ On the first run, and subsequent unless you choose otherwise), you will be promp

![Not found](/Screenshots/settings.png?raw=true "Settings")

- *Steam Libraries*: Pretty straightforward, must point to your "steamapps" folder in your library/libraries
- You can change the *font* size, type and color for the labels under the icons
- *Panel Margins*: Sets the margins between the icons panel and the end of the screen
- *Icons Spacing*: Spacing between each icons
Expand Down Expand Up @@ -51,7 +51,7 @@ SteamGameLauncher uses the following NuGet packages:
- Steam-Local by ObsidianMinor

### Credits
The original wallpaper included with the application and showed in the screenshot is "Lost Aura" by filipe-ps from DeviantArt
The original wallpapers included with the application and showed in the screenshots are "Lost Aura" by filipe-ps and "Linear Retro" by MindWav3 from DeviantArt

The default icon is made by Chanut is Industries from www.flaticon.com, is licensed by "Creative Commons BY 3.0".

0 comments on commit 186f0ea

Please sign in to comment.