MythTV  master
Classes | Macros | Functions | Variables
Text.cpp File Reference
#include "compat.h"
#include "Text.h"
#include "Visible.h"
#include "Presentable.h"
#include "Ingredients.h"
#include "Root.h"
#include "BaseClasses.h"
#include "ParseNode.h"
#include "ASN1Codes.h"
#include "Engine.h"
#include "Logging.h"
#include "freemheg.h"
Include dependency graph for Text.cpp:

Go to the source code of this file.

Classes

class  MHTextItem
 
class  MHTextLine
 

Macros

#define TABSTOP   42
 

Functions

static void InterpretAttributes (const MHOctetString &attrs, int &style, int &size, int &lineSpace, int &letterSpace)
 
static int Tabs (int nXpos, int nTabCount)
 

Variables

static const char *const rchJustification []
 
static const char *const rchlineOrientation []
 
static const char *const rchStartCorner []
 

Macro Definition Documentation

◆ TABSTOP

#define TABSTOP   42

Definition at line 522 of file Text.cpp.

Function Documentation

◆ InterpretAttributes()

static void InterpretAttributes ( const MHOctetString attrs,
int &  style,
int &  size,
int &  lineSpace,
int &  letterSpace 
)
static

Definition at line 388 of file Text.cpp.

Referenced by MHText::Redraw().

◆ Tabs()

static int Tabs ( int  nXpos,
int  nTabCount 
)
inlinestatic

Definition at line 523 of file Text.cpp.

Referenced by MHText::Redraw().

Variable Documentation

◆ rchJustification

const char* const rchJustification[]
static
Initial value:
=
{
"start",
"end",
"centre",
"justified"
}

Definition at line 141 of file Text.cpp.

Referenced by MHText::GetJustification(), and MHText::PrintMe().

◆ rchlineOrientation

const char* const rchlineOrientation[]
static
Initial value:
=
{
"vertical",
"horizontal"
}

Definition at line 163 of file Text.cpp.

Referenced by MHText::GetLineOrientation(), and MHText::PrintMe().

◆ rchStartCorner

const char* const rchStartCorner[]
static
Initial value:
=
{
"upper-left",
"upper-right",
"lower-left",
"lower-right"
}

Definition at line 182 of file Text.cpp.

Referenced by MHText::GetStartCorner(), and MHText::PrintMe().