From 7751c07e6ff384a9f827032a278a63db9af84984 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 8 Mar 2008 14:06:59 +0000 Subject: [PATCH] Moved OpenTK.Fonts to from OpenTK OpenTK.Utilities. Added OpenTK.Utilities.dll reference to Examples. Moved assembly-level attributes from GameWindow.cs to Configuration.cs. --- Build/Prebuild.xml | 1 + Source/OpenTK/Configuration.cs | 3 +++ Source/OpenTK/GameWindow.cs | 2 -- Source/{OpenTK => Utilities}/Fonts/DisplayListTextHandle.cs | 0 Source/{OpenTK => Utilities}/Fonts/DisplayListTextPrinter.cs | 0 Source/{OpenTK => Utilities}/Fonts/Glyph.cs | 0 Source/{OpenTK => Utilities}/Fonts/IFont.cs | 0 Source/{OpenTK => Utilities}/Fonts/IPrinterImplementation.cs | 0 Source/{OpenTK => Utilities}/Fonts/ITextPrinter.cs | 0 Source/{OpenTK => Utilities}/Fonts/TextHandle.cs | 0 Source/{OpenTK => Utilities}/Fonts/TextPrinter.cs | 0 Source/{OpenTK => Utilities}/Fonts/TextureFont.cs | 0 Source/{OpenTK => Utilities}/Fonts/VboTextPrinter.cs | 0 13 files changed, 4 insertions(+), 2 deletions(-) rename Source/{OpenTK => Utilities}/Fonts/DisplayListTextHandle.cs (100%) rename Source/{OpenTK => Utilities}/Fonts/DisplayListTextPrinter.cs (100%) rename Source/{OpenTK => Utilities}/Fonts/Glyph.cs (100%) rename Source/{OpenTK => Utilities}/Fonts/IFont.cs (100%) rename Source/{OpenTK => Utilities}/Fonts/IPrinterImplementation.cs (100%) rename Source/{OpenTK => Utilities}/Fonts/ITextPrinter.cs (100%) rename Source/{OpenTK => Utilities}/Fonts/TextHandle.cs (100%) rename Source/{OpenTK => Utilities}/Fonts/TextPrinter.cs (100%) rename Source/{OpenTK => Utilities}/Fonts/TextureFont.cs (100%) rename Source/{OpenTK => Utilities}/Fonts/VboTextPrinter.cs (100%) diff --git a/Build/Prebuild.xml b/Build/Prebuild.xml index ed750e4f..1fd920f6 100644 --- a/Build/Prebuild.xml +++ b/Build/Prebuild.xml @@ -150,6 +150,7 @@ + diff --git a/Source/OpenTK/Configuration.cs b/Source/OpenTK/Configuration.cs index 9c993e9c..e28948f5 100644 --- a/Source/OpenTK/Configuration.cs +++ b/Source/OpenTK/Configuration.cs @@ -12,6 +12,9 @@ using System.Text; using System.Diagnostics; using System.IO; +[assembly: CLSCompliant(true)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("OpenTK.Utilities")] + namespace OpenTK { /// diff --git a/Source/OpenTK/GameWindow.cs b/Source/OpenTK/GameWindow.cs index d076a1f8..2d6765de 100644 --- a/Source/OpenTK/GameWindow.cs +++ b/Source/OpenTK/GameWindow.cs @@ -18,8 +18,6 @@ using OpenTK.Graphics.OpenGL; using OpenTK.Graphics.OpenGL.Enums; using OpenTK.Graphics; -[assembly: CLSCompliant(true)] - namespace OpenTK { /// diff --git a/Source/OpenTK/Fonts/DisplayListTextHandle.cs b/Source/Utilities/Fonts/DisplayListTextHandle.cs similarity index 100% rename from Source/OpenTK/Fonts/DisplayListTextHandle.cs rename to Source/Utilities/Fonts/DisplayListTextHandle.cs diff --git a/Source/OpenTK/Fonts/DisplayListTextPrinter.cs b/Source/Utilities/Fonts/DisplayListTextPrinter.cs similarity index 100% rename from Source/OpenTK/Fonts/DisplayListTextPrinter.cs rename to Source/Utilities/Fonts/DisplayListTextPrinter.cs diff --git a/Source/OpenTK/Fonts/Glyph.cs b/Source/Utilities/Fonts/Glyph.cs similarity index 100% rename from Source/OpenTK/Fonts/Glyph.cs rename to Source/Utilities/Fonts/Glyph.cs diff --git a/Source/OpenTK/Fonts/IFont.cs b/Source/Utilities/Fonts/IFont.cs similarity index 100% rename from Source/OpenTK/Fonts/IFont.cs rename to Source/Utilities/Fonts/IFont.cs diff --git a/Source/OpenTK/Fonts/IPrinterImplementation.cs b/Source/Utilities/Fonts/IPrinterImplementation.cs similarity index 100% rename from Source/OpenTK/Fonts/IPrinterImplementation.cs rename to Source/Utilities/Fonts/IPrinterImplementation.cs diff --git a/Source/OpenTK/Fonts/ITextPrinter.cs b/Source/Utilities/Fonts/ITextPrinter.cs similarity index 100% rename from Source/OpenTK/Fonts/ITextPrinter.cs rename to Source/Utilities/Fonts/ITextPrinter.cs diff --git a/Source/OpenTK/Fonts/TextHandle.cs b/Source/Utilities/Fonts/TextHandle.cs similarity index 100% rename from Source/OpenTK/Fonts/TextHandle.cs rename to Source/Utilities/Fonts/TextHandle.cs diff --git a/Source/OpenTK/Fonts/TextPrinter.cs b/Source/Utilities/Fonts/TextPrinter.cs similarity index 100% rename from Source/OpenTK/Fonts/TextPrinter.cs rename to Source/Utilities/Fonts/TextPrinter.cs diff --git a/Source/OpenTK/Fonts/TextureFont.cs b/Source/Utilities/Fonts/TextureFont.cs similarity index 100% rename from Source/OpenTK/Fonts/TextureFont.cs rename to Source/Utilities/Fonts/TextureFont.cs diff --git a/Source/OpenTK/Fonts/VboTextPrinter.cs b/Source/Utilities/Fonts/VboTextPrinter.cs similarity index 100% rename from Source/OpenTK/Fonts/VboTextPrinter.cs rename to Source/Utilities/Fonts/VboTextPrinter.cs