mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 12:15:37 +00:00
Added default application icon.
This commit is contained in:
parent
eec0033297
commit
e60df8ba28
22
Source/Examples/Properties/Resources.Designer.cs
generated
22
Source/Examples/Properties/Resources.Designer.cs
generated
|
@ -1,7 +1,7 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4918
|
||||
// Runtime Version:2.0.50727.4200
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
@ -60,6 +60,13 @@ namespace OpenTK.Examples.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Icon App {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("App", resourceCulture);
|
||||
return ((System.Drawing.Icon)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to #region License
|
||||
/////
|
||||
|
@ -403,7 +410,7 @@ namespace OpenTK.Examples.Properties {
|
|||
///using OpenTK;
|
||||
///using OpenTK.Graphics;
|
||||
///using OpenTK.Graphics.OpenGL;
|
||||
/// /// [rest of string was truncated]";.
|
||||
///u [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string JuliaSetFractal {
|
||||
get {
|
||||
|
@ -448,6 +455,7 @@ namespace OpenTK.Examples.Properties {
|
|||
///#endregion
|
||||
///
|
||||
///using System;
|
||||
///using System.Diagnostics;
|
||||
///using System.Threading;
|
||||
///using System.IO;
|
||||
///
|
||||
|
@ -458,8 +466,7 @@ namespace OpenTK.Examples.Properties {
|
|||
///{
|
||||
/// [Example("Playback", ExampleCategory.OpenAL, "1.1", Documentation="Playback")]
|
||||
/// public class Playback
|
||||
/// {
|
||||
/// static readonly [rest of string was truncated]";.
|
||||
/// [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string Playback {
|
||||
get {
|
||||
|
@ -585,6 +592,7 @@ namespace OpenTK.Examples.Properties {
|
|||
///#endregion
|
||||
///
|
||||
///using System;
|
||||
///using System.Diagnostics;
|
||||
///using System.Collections.Generic;
|
||||
///using System.Text;
|
||||
///using System.Threading;
|
||||
|
@ -595,9 +603,7 @@ namespace OpenTK.Examples.Properties {
|
|||
///
|
||||
///namespace Examples.OpenAL
|
||||
///{
|
||||
/// // Not working correctly (sound pops).
|
||||
///
|
||||
/// //[Example("Strea [rest of string was truncated]";.
|
||||
/// // Not working correctly (sound pops [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string StreamingPlayback {
|
||||
get {
|
||||
|
@ -749,7 +755,7 @@ namespace OpenTK.Examples.Properties {
|
|||
///
|
||||
///namespace Examples.Tutorial
|
||||
///{
|
||||
/// [Example("Vertex Buffer Objects", ExampleCategory.OpenGL, "1 [rest of string was truncated]";.
|
||||
/// [Example("Static Vertex Buffer Objects", ExampleCategory.Ope [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string VertexBufferObject {
|
||||
get {
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
EXTensible. For a given mimetype the value must be set accordingly:
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
|
@ -199,4 +199,7 @@
|
|||
<data name="SimpleGLSL" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\OpenGL\GLSL\SimpleGLSL.cs;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<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>
|
||||
</root>
|
BIN
Source/Examples/Resources/App.ico
Normal file
BIN
Source/Examples/Resources/App.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.3 KiB |
|
@ -33,12 +33,14 @@ 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;
|
||||
}
|
||||
|
||||
public static void SetWindowTitle(System.Windows.Forms.Form window)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
static ExampleAttribute GetExampleAttribute(Type type)
|
||||
|
|
Loading…
Reference in a new issue