MythTV  master
Macros | Functions | Variables
ParseText.cpp File Reference
#include "ParseText.h"
#include "ParseNode.h"
#include "BaseClasses.h"
#include "ASN1Codes.h"
#include "Root.h"
#include "Groups.h"
#include <cctype>
#include "Ingredients.h"
#include "Text.h"
#include "Engine.h"
#include "Logging.h"
Include dependency graph for ParseText.cpp:

Go to the source code of this file.

Macros

#define stricmp   strcasecmp
 
#define MAX_TAG_LENGTH   30
 
#define MAX_ENUM   30
 

Functions

static int FindTag (const char *p)
 

Variables

const char * rchTagNames []
 
struct {
   const char *   m_name
 
   unsigned char   m_r
 
   unsigned char   m_g
 
   unsigned char   m_b
 
   unsigned char   m_t
 
colourTable []
 

Macro Definition Documentation

◆ stricmp

#define stricmp   strcasecmp

Definition at line 41 of file ParseText.cpp.

◆ MAX_TAG_LENGTH

#define MAX_TAG_LENGTH   30

Definition at line 64 of file ParseText.cpp.

◆ MAX_ENUM

#define MAX_ENUM   30

Definition at line 364 of file ParseText.cpp.

Function Documentation

◆ FindTag()

static int FindTag ( const char *  p)
static

Definition at line 349 of file ParseText.cpp.

Referenced by MHParseText::NextSym().

Variable Documentation

◆ rchTagNames

const char* rchTagNames[]

Definition at line 66 of file ParseText.cpp.

Referenced by FindTag().

◆ m_name

const char* m_name

◆ m_r

unsigned char m_r

Definition at line 329 of file ParseText.cpp.

Referenced by buffers::clear(), createColor(), and buffers::resize().

◆ m_g

unsigned char m_g

Definition at line 329 of file ParseText.cpp.

Referenced by createColor().

◆ m_b

unsigned char m_b

Definition at line 329 of file ParseText.cpp.

Referenced by createColor(), and NuppelVideoRecorder::WriteText().

◆ m_t

unsigned char m_t

Definition at line 329 of file ParseText.cpp.

◆ colourTable

struct { ... } colourTable[]
Initial value:
=
{
{ "black", 0, 0, 0, 0 },
{ "transparent", 0, 0, 0, 255 },
{ "gray", 128, 128, 128, 0 },
{ "darkgray", 192, 192, 192, 0 },
{ "red", 255, 0, 0, 0 },
{ "darkred", 128, 0, 0, 0 },
{ "blue", 0, 0, 255, 0 },
{ "darkblue", 0, 0, 128, 0 },
{ "green", 0, 255, 0, 0 },
{ "darkgreen", 0, 128, 0, 0 },
{ "yellow", 255, 255, 0, 0 },
{ "cyan", 0, 255, 255, 0 },
{ "magenta", 255, 0, 255, 0 }
}

Referenced by MHParseText::NextSym().