mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 05:15:42 +00:00
Added high-res icons to Example Browser
The Example Browser should now look better on high resolution screens.
This commit is contained in:
parent
cfdb5bc95a
commit
fcc9049d18
|
@ -608,6 +608,9 @@
|
|||
<ItemGroup>
|
||||
<None Include="Resources\v3x.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Game.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>
|
||||
|
|
42
Source/Examples/Properties/Resources.Designer.cs
generated
42
Source/Examples/Properties/Resources.Designer.cs
generated
|
@ -1,7 +1,7 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.1
|
||||
// Runtime Version:4.0.30319.18051
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
@ -60,6 +60,9 @@ namespace OpenTK.Examples.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon App {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("App", resourceCulture);
|
||||
|
@ -67,6 +70,19 @@ namespace OpenTK.Examples.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon Game {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Game", resourceCulture);
|
||||
return ((System.Drawing.Icon)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap OpenAL {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("OpenAL", resourceCulture);
|
||||
|
@ -74,6 +90,9 @@ namespace OpenTK.Examples.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap OpenCL {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("OpenCL", resourceCulture);
|
||||
|
@ -81,6 +100,9 @@ namespace OpenTK.Examples.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap OpenGL {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("OpenGL", resourceCulture);
|
||||
|
@ -88,6 +110,9 @@ namespace OpenTK.Examples.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap OpenGLES {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("OpenGLES", resourceCulture);
|
||||
|
@ -95,6 +120,9 @@ namespace OpenTK.Examples.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap OpenTK {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("OpenTK", resourceCulture);
|
||||
|
@ -102,6 +130,9 @@ namespace OpenTK.Examples.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap v1x {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("v1x", resourceCulture);
|
||||
|
@ -109,6 +140,9 @@ namespace OpenTK.Examples.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap v2x {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("v2x", resourceCulture);
|
||||
|
@ -116,6 +150,9 @@ namespace OpenTK.Examples.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap v3x {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("v3x", resourceCulture);
|
||||
|
@ -123,6 +160,9 @@ namespace OpenTK.Examples.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap v4x {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("v4x", resourceCulture);
|
||||
|
|
|
@ -117,11 +117,13 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="App" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>../Resources/App.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="Game" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Game.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="OpenAL" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\OpenAL.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 74 KiB |
BIN
Source/Examples/Resources/Game.ico
Normal file
BIN
Source/Examples/Resources/Game.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
|
@ -37,7 +37,7 @@ namespace Examples
|
|||
{
|
||||
ExampleAttribute info = GetExampleAttribute(window.GetType());
|
||||
window.Title = String.Format("OpenTK | {0} {1}: {2}", info.Category, info.Difficulty, info.Title);
|
||||
window.Icon = OpenTK.Examples.Properties.Resources.App;
|
||||
window.Icon = OpenTK.Examples.Properties.Resources.Game;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -48,7 +48,7 @@ namespace Examples
|
|||
{
|
||||
ExampleAttribute info = GetExampleAttribute(window.GetType());
|
||||
window.Text = String.Format("OpenTK | {0} {1}: {2}", info.Category, info.Difficulty, info.Title);
|
||||
window.Icon = OpenTK.Examples.Properties.Resources.App;
|
||||
window.Icon = OpenTK.Examples.Properties.Resources.Game;
|
||||
}
|
||||
|
||||
static ExampleAttribute GetExampleAttribute(Type type)
|
||||
|
|
Loading…
Reference in a new issue