Skip to content

Commit

Permalink
Fix language loading, add basic glyph.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Sampson committed Mar 31, 2018
1 parent fca6c87 commit 6c98899
Show file tree
Hide file tree
Showing 11 changed files with 274 additions and 169 deletions.
6 changes: 5 additions & 1 deletion BorderlessGaming.Logic/Models/Language.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BorderlessGaming.Logic.Core;

namespace BorderlessGaming.Logic.Models
Expand All @@ -22,6 +25,7 @@ public void Set()

internal string Data(string key)
{

return LanguageData.ContainsKey(key) ? LanguageData[key] : null;
}

Expand Down
2 changes: 2 additions & 0 deletions BorderlessGaming/BorderlessGaming.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@
</ItemGroup>
<ItemGroup>
<Content Include="BorderlessGaming_new.ico" />
<EmbeddedResource Include="Resources\master-glyph.png" />
<None Include="Resources\RainwayLogo.bmp" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="PostBuildMacros">
Expand Down
154 changes: 104 additions & 50 deletions BorderlessGaming/Forms/MainWindow.Designer.cs

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions BorderlessGaming/Forms/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1225,5 +1225,10 @@ private void muteInBackgroundToolStripMenuItem_Click(object sender, EventArgs e)
}
RefreshFavoritesList(fav);
}

private void checkOutRainwayToolStripMenuItem_Click(object sender, EventArgs e)
{
Tools.GotoSite("https://rainway.io/?ref=borderlessgaming3");
}
}
}
58 changes: 29 additions & 29 deletions BorderlessGaming/Forms/MainWindow.en-US.resx
Original file line number Diff line number Diff line change
Expand Up @@ -724,9 +724,6 @@
<data name="toolStripRunOnStartup.Size" type="System.Drawing.Size, System.Drawing">
<value>316, 22</value>
</data>
<data name="toolStripLanguages.Text" xml:space="preserve">
<value>Language</value>
</data>
<data name="toolStripCheckForUpdates.Size" type="System.Drawing.Size, System.Drawing">
<value>316, 22</value>
</data>
Expand Down Expand Up @@ -793,7 +790,31 @@
<data name="toolsToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>47, 27</value>
</data>
<data name="toolStripRainway.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="toolStripUsageGuide.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
</data>
<data name="toolStripRegexReference.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
</data>
<data name="toolStripMenuItem13.Size" type="System.Drawing.Size, System.Drawing">
<value>157, 6</value>
</data>
<data name="toolStripReportBug.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
</data>
<data name="toolStripSupportUs.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
</data>
<data name="toolStripMenuItem2.Size" type="System.Drawing.Size, System.Drawing">
<value>157, 6</value>
</data>
<data name="toolStripAbout.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
</data>
<data name="toolStripInfo.Size" type="System.Drawing.Size, System.Drawing">
<value>44, 27</value>
</data>
<data name="rainwayStrip.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAIQAAACWCAYAAAAfWiA3AAAABGdBTUEAALGPC/xhBQAAEwRJREFUeF7t
nQuQHMV5x0WU2NhxiB0nIbGTWOXIpMKBAsaS7m7ndYY4ED+wU1wSP3iYGJy4wEGJ/CjAZGNLdzvds3c2
Expand Down Expand Up @@ -880,32 +901,11 @@
fxxJPk72nkr8AAAAAElFTkSuQmCC
</value>
</data>
<data name="toolStripRainway.Text" xml:space="preserve">
<value>Rainway</value>
</data>
<data name="toolStripUsageGuide.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
</data>
<data name="toolStripRegexReference.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
</data>
<data name="toolStripMenuItem13.Size" type="System.Drawing.Size, System.Drawing">
<value>157, 6</value>
</data>
<data name="toolStripReportBug.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
</data>
<data name="toolStripSupportUs.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
</data>
<data name="toolStripMenuItem2.Size" type="System.Drawing.Size, System.Drawing">
<value>157, 6</value>
</data>
<data name="toolStripAbout.Size" type="System.Drawing.Size, System.Drawing">
<value>160, 22</value>
<data name="rainwayStrip.Size" type="System.Drawing.Size, System.Drawing">
<value>131, 27</value>
</data>
<data name="toolStripInfo.Size" type="System.Drawing.Size, System.Drawing">
<value>44, 27</value>
<data name="rainwayStrip.Text" xml:space="preserve">
<value>Check Out Raiway</value>
</data>
<data name="mnuMain.MinimumSize" type="System.Drawing.Size, System.Drawing">
<value>0, 31</value>
Expand Down
Loading

0 comments on commit 6c98899

Please sign in to comment.