Panda3D
config_text.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file config_text.h
10  * @author drose
11  * @date 2000-03-02
12  */
13 
14 #ifndef CONFIG_TEXT_H
15 #define CONFIG_TEXT_H
16 
17 #include "pandabase.h"
18 #include "notifyCategoryProxy.h"
19 #include "texture.h"
20 #include "configVariableBool.h"
21 #include "configVariableInt.h"
22 #include "configVariableDouble.h"
23 #include "configVariableFilename.h"
24 #include "configVariableEnum.h"
25 #include "textFont.h"
26 
27 class DSearchPath;
28 
29 NotifyCategoryDecl(text, EXPCL_PANDA_TEXT, EXPTP_PANDA_TEXT);
30 
31 extern ConfigVariableBool text_flatten;
32 extern ConfigVariableBool text_dynamic_merge;
33 extern ConfigVariableBool text_kerning;
34 extern ConfigVariableBool text_use_harfbuzz;
35 extern ConfigVariableInt text_anisotropic_degree;
36 extern ConfigVariableInt text_texture_margin;
37 extern ConfigVariableDouble text_poly_margin;
38 extern ConfigVariableInt text_page_size;
39 extern ConfigVariableBool text_small_caps;
40 extern EXPCL_PANDA_TEXT ConfigVariableDouble text_small_caps_scale;
41 extern ConfigVariableFilename text_default_font;
42 extern EXPCL_PANDA_TEXT ConfigVariableDouble text_tab_width;
43 extern EXPCL_PANDA_TEXT ConfigVariableInt text_push_properties_key;
44 extern EXPCL_PANDA_TEXT ConfigVariableInt text_pop_properties_key;
45 extern ConfigVariableInt text_soft_hyphen_key;
46 extern ConfigVariableInt text_soft_break_key;
47 extern ConfigVariableInt text_embed_graphic_key;
48 extern std::wstring get_text_soft_hyphen_output();
49 extern ConfigVariableDouble text_hyphen_ratio;
50 extern std::wstring get_text_never_break_before();
51 extern ConfigVariableInt text_max_never_break;
52 extern EXPCL_PANDA_TEXT ConfigVariableDouble text_default_underscore_height;
53 
56 extern ConfigVariableEnum<SamplerState::WrapMode> text_wrap_mode;
57 extern ConfigVariableEnum<Texture::QualityLevel> text_quality_level;
58 extern ConfigVariableEnum<TextFont::RenderMode> text_render_mode;
59 
60 extern EXPCL_PANDA_TEXT void init_libtext();
61 
62 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a Filename type.
This is a convenience class to specialize ConfigVariable as a boolean type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a floating- point type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class specializes ConfigVariable as an enumerated type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as an integer type.
This class stores a list of directories that can be searched, in order, to locate a particular file.
Definition: dSearchPath.h:28
EXPCL_PANDA_TEXT void init_libtext()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.