Browse Source

Remove unused class declaration.

aster 11 years ago
parent
commit
a6ce24f82f

+ 0 - 5
Source/Engine/UI/Font.cpp

@@ -28,12 +28,7 @@
 #include "FontFaceBitMap.h"
 #include "FontFaceFreeType.h"
 #include "Graphics.h"
-#include "Log.h"
-#include "MemoryBuffer.h"
 #include "Profiler.h"
-#include "ResourceCache.h"
-// #include "Texture2D.h"
-// #include "UI.h"
 
 #include "DebugNew.h"
 

+ 0 - 2
Source/Engine/UI/Font.h

@@ -29,8 +29,6 @@ namespace Urho3D
 {
 
 class FontFace;
-class Image;
-class Texture2D;
 
 static const int FONT_TEXTURE_MIN_SIZE = 128;
 static const int FONT_DPI = 96;

+ 0 - 6
Source/Engine/UI/FontFace.cpp

@@ -22,16 +22,10 @@
 
 #include "Precompiled.h"
 #include "Context.h"
-#include "FileSystem.h"
 #include "Font.h"
 #include "FontFace.h"
-#include "Graphics.h"
 #include "Log.h"
-#include "MemoryBuffer.h"
-#include "ResourceCache.h"
 #include "Texture2D.h"
-#include "UI.h"
-#include "XMLFile.h"
 
 #include "DebugNew.h"
 

+ 1 - 0
Source/Engine/UI/FontFace.h

@@ -30,6 +30,7 @@ namespace Urho3D
 {
 
 class Font;
+class Image;
 class Texture2D;
 
 /// Mutable font glyph description.

+ 2 - 0
Source/Engine/UI/FontFaceBitmap.cpp

@@ -22,10 +22,12 @@
 
 #include "Precompiled.h"
 #include "Context.h"
+#include "File.h"
 #include "FileSystem.h"
 #include "Font.h"
 #include "FontFaceBitMap.h"
 #include "Graphics.h"
+#include "Image.h"
 #include "Log.h"
 #include "MemoryBuffer.h"
 #include "ResourceCache.h"

+ 0 - 1
Source/Engine/UI/FontFaceBitmap.h

@@ -29,7 +29,6 @@ namespace Urho3D
 
 class Image;
 class Serializer;
-class Texture2D;
 
 /// Bitmap font face description.
 class URHO3D_API FontFaceBitMap : public FontFace

+ 1 - 2
Source/Engine/UI/FontFaceFreeType.cpp

@@ -26,12 +26,11 @@
 #include "Font.h"
 #include "FontFaceFreeType.h"
 #include "Graphics.h"
+#include "Image.h"
 #include "Log.h"
 #include "MemoryBuffer.h"
-#include "ResourceCache.h"
 #include "Texture2D.h"
 #include "UI.h"
-#include "XMLFile.h"
 
 #include <ft2build.h>
 #include FT_FREETYPE_H