MythTV  master
Public Member Functions | List of all members
MHTextDisplay Class Referenceabstract

#include <freemheg.h>

Inheritance diagram for MHTextDisplay:
Inheritance graph
[legend]

Public Member Functions

virtual ~MHTextDisplay ()
 
virtual void Draw (int x, int y)=0
 
virtual void SetSize (int width, int height)=0
 
virtual void SetFont (int size, bool isBold, bool isItalic)=0
 
virtual QRect GetBounds (const QString &str, int &strLen, int maxSize=-1)=0
 
virtual void Clear (void)=0
 
virtual void AddText (int x, int y, const QString &, MHRgba colour)=0
 

Detailed Description

Definition at line 189 of file freemheg.h.

Constructor & Destructor Documentation

◆ ~MHTextDisplay()

virtual MHTextDisplay::~MHTextDisplay ( )
inlinevirtual

Definition at line 191 of file freemheg.h.

Member Function Documentation

◆ Draw()

virtual void MHTextDisplay::Draw ( int  x,
int  y 
)
pure virtual

Implemented in MHIText.

Referenced by MHText::Display().

◆ SetSize()

virtual void MHTextDisplay::SetSize ( int  width,
int  height 
)
pure virtual

Implemented in MHIText.

Referenced by MHText::Preparation(), and MHText::Redraw().

◆ SetFont()

virtual void MHTextDisplay::SetFont ( int  size,
bool  isBold,
bool  isItalic 
)
pure virtual

Implemented in MHIText.

Referenced by MHText::Redraw().

◆ GetBounds()

virtual QRect MHTextDisplay::GetBounds ( const QString &  str,
int &  strLen,
int  maxSize = -1 
)
pure virtual

Implemented in MHIText.

Referenced by MHText::Redraw().

◆ Clear()

virtual void MHTextDisplay::Clear ( void  )
pure virtual

Implemented in MHIText.

Referenced by MHText::Redraw().

◆ AddText()

virtual void MHTextDisplay::AddText ( int  x,
int  y,
const QString &  ,
MHRgba  colour 
)
pure virtual

Implemented in MHIText.

Referenced by MHText::Redraw().


The documentation for this class was generated from the following file: