David Rose преди 19 години
родител
ревизия
9de371843b
променени са 2 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 0
      panda/src/text/config_text.h
  2. 0 1
      panda/src/text/dynamicTextFont.h

+ 5 - 0
panda/src/text/config_text.h

@@ -27,6 +27,7 @@
 #include "configVariableDouble.h"
 #include "configVariableDouble.h"
 #include "configVariableFilename.h"
 #include "configVariableFilename.h"
 #include "configVariableEnum.h"
 #include "configVariableEnum.h"
+#include "dynamicTextFont.h"
 
 
 class DSearchPath;
 class DSearchPath;
 
 
@@ -55,6 +56,10 @@ extern ConfigVariableEnum<Texture::FilterType> text_minfilter;
 extern ConfigVariableEnum<Texture::FilterType> text_magfilter;
 extern ConfigVariableEnum<Texture::FilterType> text_magfilter;
 extern ConfigVariableEnum<Texture::WrapMode> text_wrap_mode;
 extern ConfigVariableEnum<Texture::WrapMode> text_wrap_mode;
 
 
+#ifdef HAVE_FREETYPE
+extern ConfigVariableEnum<DynamicTextFont::RenderMode> text_render_mode;
+#endif
+
 extern EXPCL_PANDA void init_libtext();
 extern EXPCL_PANDA void init_libtext();
 
 
 #endif
 #endif

+ 0 - 1
panda/src/text/dynamicTextFont.h

@@ -23,7 +23,6 @@
 
 
 #ifdef HAVE_FREETYPE
 #ifdef HAVE_FREETYPE
 
 
-#include "config_text.h"
 #include "textFont.h"
 #include "textFont.h"
 #include "freetypeFont.h"
 #include "freetypeFont.h"
 #include "dynamicTextGlyph.h"
 #include "dynamicTextGlyph.h"