OSDTypeCC Class Reference

#include <osdtypes.h>

Inheritance diagram for OSDTypeCC:

OSDType

List of all members.


Detailed Description

Definition at line 541 of file osdtypes.h.


Public Member Functions

 OSDTypeCC (const QString &name, TTFFont *font, int xoff, int yoff, int dispw, int disph, float wmult, float hmult)
 ~OSDTypeCC ()
void Reinit (float wmult, float hmult)
void Reinit (int xoff, int yoff, int dispw, int disph, float wmult, float hmult)
void AddCCText (const QString &text, int x, int y, int color, bool teletextmode=false)
void ClearAllCCText ()
int UpdateCCText (vector< ccText * > *ccbuf, int replace=0, int scroll=0, bool scroll_prsv=false, int scroll_yoff=0, int scroll_ymax=15)
void Draw (OSDSurface *surface, int fade, int maxfade, int xoff, int yoff)

Private Attributes

TTFFontm_font
vector< ccText * > * m_textlist
OSDTypeBoxm_box
int m_ccbackground
float m_wmult
float m_hmult
int xoffset
int yoffset
int displaywidth
int displayheight

Constructor & Destructor Documentation

OSDTypeCC::OSDTypeCC ( const QString &  name,
TTFFont font,
int  xoff,
int  yoff,
int  dispw,
int  disph,
float  wmult,
float  hmult 
)

Definition at line 2385 of file osdtypes.cpp.

OSDTypeCC::~OSDTypeCC (  ) 

Definition at line 2403 of file osdtypes.cpp.


Member Function Documentation

void OSDTypeCC::Reinit ( float  wmult,
float  hmult 
) [virtual]

Implements OSDType.

Definition at line 2409 of file osdtypes.cpp.

void OSDTypeCC::Reinit ( int  xoff,
int  yoff,
int  dispw,
int  disph,
float  wmult,
float  hmult 
)

Definition at line 2417 of file osdtypes.cpp.

void OSDTypeCC::AddCCText ( const QString &  text,
int  x,
int  y,
int  color,
bool  teletextmode = false 
)

Definition at line 2428 of file osdtypes.cpp.

Referenced by OSD::AddCCText().

void OSDTypeCC::ClearAllCCText (  ) 

Definition at line 2444 of file osdtypes.cpp.

Referenced by OSD::ClearAllCCText(), and ~OSDTypeCC().

int OSDTypeCC::UpdateCCText ( vector< ccText * > *  ccbuf,
int  replace = 0,
int  scroll = 0,
bool  scroll_prsv = false,
int  scroll_yoff = 0,
int  scroll_ymax = 15 
)

Definition at line 2460 of file osdtypes.cpp.

Referenced by OSD::UpdateCCText().

void OSDTypeCC::Draw ( OSDSurface surface,
int  fade,
int  maxfade,
int  xoff,
int  yoff 
) [virtual]

Implements OSDType.

Definition at line 2554 of file osdtypes.cpp.


Member Data Documentation

Definition at line 564 of file osdtypes.h.

Referenced by Draw(), and OSDTypeCC().

vector<ccText *>* OSDTypeCC::m_textlist [private]

Definition at line 565 of file osdtypes.h.

Referenced by AddCCText(), ClearAllCCText(), Draw(), OSDTypeCC(), and UpdateCCText().

Definition at line 566 of file osdtypes.h.

Referenced by Draw(), OSDTypeCC(), and ~OSDTypeCC().

Definition at line 567 of file osdtypes.h.

Referenced by Draw(), and OSDTypeCC().

float OSDTypeCC::m_wmult [private]

Definition at line 568 of file osdtypes.h.

Referenced by Draw(), OSDTypeCC(), and Reinit().

float OSDTypeCC::m_hmult [private]

Definition at line 568 of file osdtypes.h.

Referenced by Draw(), OSDTypeCC(), and Reinit().

int OSDTypeCC::xoffset [private]

Definition at line 569 of file osdtypes.h.

Referenced by Draw(), OSDTypeCC(), and Reinit().

int OSDTypeCC::yoffset [private]

Definition at line 569 of file osdtypes.h.

Referenced by Draw(), OSDTypeCC(), and Reinit().

int OSDTypeCC::displaywidth [private]

Definition at line 569 of file osdtypes.h.

Referenced by Draw(), OSDTypeCC(), and Reinit().

int OSDTypeCC::displayheight [private]

Definition at line 569 of file osdtypes.h.

Referenced by Draw(), OSDTypeCC(), and Reinit().


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

Generated on Sat Dec 18 05:16:09 2010 for MythTV by  doxygen 1.5.5