From e5aaa448bcdce7cef2b9b879b546a8bc4648a414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Thu, 10 Jan 2013 11:42:14 -0300 Subject: [PATCH] Hidded fonts constructors. --- include/eepp/graphics/ctexturefont.hpp | 4 ++-- include/eepp/graphics/cttffont.hpp | 4 ++-- projects/linux/ee.creator.user | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/eepp/graphics/ctexturefont.hpp b/include/eepp/graphics/ctexturefont.hpp index 79b6c635d..832069a1f 100755 --- a/include/eepp/graphics/ctexturefont.hpp +++ b/include/eepp/graphics/ctexturefont.hpp @@ -13,8 +13,6 @@ class EE_API cTextureFont : public cFont { /** Creates an instance of a texture font */ static cTextureFont * New( const std::string FontName ); - cTextureFont( const std::string FontName ); - /** The destructor will not unload the texture from memory. If you want that you'll have to remove it manually ( cTextureFactory::instance()->Remove( MyFontInstance->GetTexId() ) ). */ virtual ~cTextureFont(); @@ -77,6 +75,8 @@ class EE_API cTextureFont : public cFont { bool mLoadedCoords; + cTextureFont( const std::string FontName ); + void BuildFont(); void BuildFromGlyphs(); diff --git a/include/eepp/graphics/cttffont.hpp b/include/eepp/graphics/cttffont.hpp index 6632ad671..81d5bc286 100755 --- a/include/eepp/graphics/cttffont.hpp +++ b/include/eepp/graphics/cttffont.hpp @@ -17,8 +17,6 @@ class EE_API cTTFFont : public cFont { /** Creates an instance of a true type font */ static cTTFFont * New( const std::string FontName ); - cTTFFont( const std::string FontName ); - /** The destructor will not unload the texture from memory. If you want that you'll have to remove it manually ( cTextureFactory::instance()->Remove( MyFontInstance->GetTexId() ) ). */ virtual ~cTTFFont(); @@ -94,6 +92,8 @@ class EE_API cTTFFont : public cFont { bool mThreadedLoading; bool mTexReady; + cTTFFont( const std::string FontName ); + bool ThreadedLoading() const; void ThreadedLoading( const bool& isThreaded ); diff --git a/projects/linux/ee.creator.user b/projects/linux/ee.creator.user index c0914e0ef..daab0c178 100644 --- a/projects/linux/ee.creator.user +++ b/projects/linux/ee.creator.user @@ -1,6 +1,6 @@ - + ProjectExplorer.Project.ActiveTarget