From 44f08284252b02d91192418ebe3995c8b3d82c27 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 3 Nov 2008 23:51:16 +0000 Subject: [PATCH] Moved GdiPlus to OpenTK.Platform where it belongs. Removed unused fields in WinGdiPlusInternals.cs. --- Source/OpenTK/{ => Platform}/GdiPlus.cs | 2 -- Source/OpenTK/Platform/Windows/WinGdiPlusInternals.cs | 1 - 2 files changed, 3 deletions(-) rename Source/OpenTK/{ => Platform}/GdiPlus.cs (94%) diff --git a/Source/OpenTK/GdiPlus.cs b/Source/OpenTK/Platform/GdiPlus.cs similarity index 94% rename from Source/OpenTK/GdiPlus.cs rename to Source/OpenTK/Platform/GdiPlus.cs index 295fabb9..54897af6 100644 --- a/Source/OpenTK/GdiPlus.cs +++ b/Source/OpenTK/Platform/GdiPlus.cs @@ -21,8 +21,6 @@ namespace OpenTK.Platform static IGdiPlusInternals internals; const string gdi_plus_library = "gdiplus.dll"; - static readonly PropertyInfo native_graphics_property, native_font_property; - static readonly FieldInfo native_string_format_field; #region --- Constructors --- diff --git a/Source/OpenTK/Platform/Windows/WinGdiPlusInternals.cs b/Source/OpenTK/Platform/Windows/WinGdiPlusInternals.cs index 7f32c17f..8016732e 100644 --- a/Source/OpenTK/Platform/Windows/WinGdiPlusInternals.cs +++ b/Source/OpenTK/Platform/Windows/WinGdiPlusInternals.cs @@ -8,7 +8,6 @@ namespace OpenTK.Platform.Windows { class WinGdiPlusInternals : IGdiPlusInternals { - const string gdi_plus_library = "gdiplus.dll"; static readonly PropertyInfo native_graphics_property, native_font_property; static readonly FieldInfo native_string_format_field;