Namespaces | Functions | Variables

prop_types.cpp File Reference

#include "prop_types.h"
#include <sstream>
#include "common/wave_ex.h"
#include "util/parsing.h"
Include dependency graph for prop_types.cpp:

Go to the source code of this file.

Namespaces

namespace  objtree

Functions

static bool objtree::getBoolean (IN const dictionary_t &data, IN const char *key)
static void objtree::addBooleanIfTrue (IO std::ostream &out, IN const char *key, IN bool val)
static void objtree::addPrettyIfTrue (IO std::ostream &out, IN const char *key, IN bool val)
static std::string objtree::escape (IN const char *p)
static std::string objtree::unescape (IN const char *p)
static void objtree::validateColorComponent (IN int x)
static void objtree::addColorComponent (IO std::string &s, IN const char *tag, IN int x, IN int default_value)
color_t objtree::getColorFromString (IN const char *text)
void objtree::getStringFromColor (IN const color_t &c, OUT std::string &s)
void objtree::getFontFromString (IN const char *info, OUT font_t &font)
void objtree::getStringFromFont (IN const font_t &font, OUT std::string &out)
void objtree::getDisplayStringFromFont (IN const font_t &font, OUT std::string &out)

Variables

static const char objtree::s_escape = (char) 205