MythTV  master
Classes | Functions | Variables
Text.cpp File Reference
#include "libmythbase/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
 

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 std::array< const QString, 4 > rchJustification
 
static const std::array< const QString, 2 > rchlineOrientation
 
static const std::array< const QString, 4 > rchStartCorner
 
static constexpr int8_t TABSTOP { 42 }
 

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 std::array<const QString,4> rchJustification
static
Initial value:
{
"start",
"end",
"centre",
"justified"
}

Definition at line 142 of file Text.cpp.

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

◆ rchlineOrientation

const std::array<const QString,2> rchlineOrientation
static
Initial value:
{
"vertical",
"horizontal"
}

Definition at line 164 of file Text.cpp.

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

◆ rchStartCorner

const std::array<const QString,4> rchStartCorner
static
Initial value:
{
"upper-left",
"upper-right",
"lower-left",
"lower-right"
}

Definition at line 183 of file Text.cpp.

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

◆ TABSTOP

constexpr int8_t TABSTOP { 42 }
staticconstexpr

Definition at line 522 of file Text.cpp.

Referenced by Tabs().