61 lines
2.1 KiB
C++
61 lines
2.1 KiB
C++
// Filename: config_text.h
|
|
// Created by: drose (02Mar00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// PANDA 3D SOFTWARE
|
|
// Copyright (c) Carnegie Mellon University. All rights reserved.
|
|
//
|
|
// All use of this software is subject to the terms of the revised BSD
|
|
// license. You should have received a copy of this license along
|
|
// with this source code in a file named "LICENSE."
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef CONFIG_TEXT_H
|
|
#define CONFIG_TEXT_H
|
|
|
|
#include "pandabase.h"
|
|
#include "notifyCategoryProxy.h"
|
|
#include "texture.h"
|
|
#include "configVariableBool.h"
|
|
#include "configVariableInt.h"
|
|
#include "configVariableDouble.h"
|
|
#include "configVariableFilename.h"
|
|
#include "configVariableEnum.h"
|
|
#include "textFont.h"
|
|
|
|
class DSearchPath;
|
|
|
|
NotifyCategoryDecl(text, EXPCL_PANDA_TEXT, EXPTP_PANDA_TEXT);
|
|
|
|
extern ConfigVariableBool text_flatten;
|
|
extern ConfigVariableBool text_dynamic_merge;
|
|
extern ConfigVariableInt text_anisotropic_degree;
|
|
extern ConfigVariableInt text_texture_margin;
|
|
extern ConfigVariableDouble text_poly_margin;
|
|
extern ConfigVariableInt text_page_size;
|
|
extern ConfigVariableBool text_small_caps;
|
|
extern ConfigVariableDouble text_small_caps_scale;
|
|
extern ConfigVariableFilename text_default_font;
|
|
extern ConfigVariableDouble text_tab_width;
|
|
extern ConfigVariableInt text_push_properties_key;
|
|
extern ConfigVariableInt text_pop_properties_key;
|
|
extern ConfigVariableInt text_soft_hyphen_key;
|
|
extern ConfigVariableInt text_soft_break_key;
|
|
extern ConfigVariableInt text_embed_graphic_key;
|
|
extern wstring get_text_soft_hyphen_output();
|
|
extern ConfigVariableDouble text_hyphen_ratio;
|
|
extern wstring get_text_never_break_before();
|
|
extern ConfigVariableInt text_max_never_break;
|
|
extern ConfigVariableDouble text_default_underscore_height;
|
|
|
|
extern ConfigVariableEnum<Texture::FilterType> text_minfilter;
|
|
extern ConfigVariableEnum<Texture::FilterType> text_magfilter;
|
|
extern ConfigVariableEnum<Texture::WrapMode> text_wrap_mode;
|
|
extern ConfigVariableEnum<TextFont::RenderMode> text_render_mode;
|
|
|
|
extern EXPCL_PANDA_TEXT void init_libtext();
|
|
|
|
#endif
|