Panda3D
 All Classes Functions Variables Enumerations
config_text.h
00001 // Filename: config_text.h
00002 // Created by:  drose (02Mar00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef CONFIG_TEXT_H
00016 #define CONFIG_TEXT_H
00017 
00018 #include "pandabase.h"
00019 #include "notifyCategoryProxy.h"
00020 #include "texture.h"
00021 #include "configVariableBool.h"
00022 #include "configVariableInt.h"
00023 #include "configVariableDouble.h"
00024 #include "configVariableFilename.h"
00025 #include "configVariableEnum.h"
00026 #include "textFont.h"
00027 
00028 class DSearchPath;
00029 
00030 NotifyCategoryDecl(text, EXPCL_PANDA_TEXT, EXPTP_PANDA_TEXT);
00031 
00032 extern ConfigVariableBool text_flatten;
00033 extern ConfigVariableBool text_dynamic_merge;
00034 extern ConfigVariableInt text_anisotropic_degree;
00035 extern ConfigVariableInt text_texture_margin;
00036 extern ConfigVariableDouble text_poly_margin;
00037 extern ConfigVariableInt text_page_size;
00038 extern ConfigVariableBool text_small_caps;
00039 extern ConfigVariableDouble text_small_caps_scale;
00040 extern ConfigVariableFilename text_default_font;
00041 extern ConfigVariableDouble text_tab_width;
00042 extern ConfigVariableInt text_push_properties_key;
00043 extern ConfigVariableInt text_pop_properties_key;
00044 extern ConfigVariableInt text_soft_hyphen_key;
00045 extern ConfigVariableInt text_soft_break_key;
00046 extern ConfigVariableInt text_embed_graphic_key;
00047 extern wstring get_text_soft_hyphen_output();
00048 extern ConfigVariableDouble text_hyphen_ratio;
00049 extern wstring get_text_never_break_before();
00050 extern ConfigVariableInt text_max_never_break;
00051 extern ConfigVariableDouble text_default_underscore_height;
00052 
00053 extern ConfigVariableEnum<Texture::FilterType> text_minfilter;
00054 extern ConfigVariableEnum<Texture::FilterType> text_magfilter;
00055 extern ConfigVariableEnum<Texture::WrapMode> text_wrap_mode;
00056 extern ConfigVariableEnum<TextFont::RenderMode> text_render_mode;
00057 
00058 extern EXPCL_PANDA_TEXT void init_libtext();
00059 
00060 #endif
 All Classes Functions Variables Enumerations