OSDTypeBox Class Reference

#include <osdtypes.h>

Inheritance diagram for OSDTypeBox:

OSDType

List of all members.


Detailed Description

Definition at line 445 of file osdtypes.h.


Public Member Functions

 OSDTypeBox (const QString &name, QRect displayrect, float wmult, float hmult)
 OSDTypeBox (const OSDTypeBox &other)
 ~OSDTypeBox ()
void Reinit (float wmult, float hmult)
void SetRect (QRect newrect, float wmult, float hmult)
void Draw (OSDSurface *surface, int fade, int maxfade, int xoff, int yoff, unsigned int alpha)
void Draw (OSDSurface *surface, int fade, int maxfade, int xoff, int yoff)
void SetColor (QColor c)

Private Attributes

QRect size
QRect m_unbiasedsize
QColor m_color

Constructor & Destructor Documentation

OSDTypeBox::OSDTypeBox ( const QString &  name,
QRect  displayrect,
float  wmult,
float  hmult 
)

Definition at line 2058 of file osdtypes.cpp.

OSDTypeBox::OSDTypeBox ( const OSDTypeBox other  ) 

Definition at line 2071 of file osdtypes.cpp.

OSDTypeBox::~OSDTypeBox (  ) 

Definition at line 2079 of file osdtypes.cpp.


Member Function Documentation

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

Implements OSDType.

Definition at line 2083 of file osdtypes.cpp.

void OSDTypeBox::SetRect ( QRect  newrect,
float  wmult,
float  hmult 
)

Definition at line 2065 of file osdtypes.cpp.

Referenced by OSDTypeCC::Draw().

void OSDTypeBox::Draw ( OSDSurface surface,
int  fade,
int  maxfade,
int  xoff,
int  yoff,
unsigned int  alpha 
)

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

Implements OSDType.

Definition at line 459 of file osdtypes.h.

void OSDTypeBox::SetColor ( QColor  c  )  [inline]

Definition at line 462 of file osdtypes.h.

Referenced by OSDTypeText::DrawHiLiteString(), and OSDTypeText::DrawString().


Member Data Documentation

QRect OSDTypeBox::size [private]

Definition at line 464 of file osdtypes.h.

Referenced by Draw(), OSDTypeBox(), Reinit(), and SetRect().

QRect OSDTypeBox::m_unbiasedsize [private]

Definition at line 465 of file osdtypes.h.

Referenced by OSDTypeBox(), Reinit(), and SetRect().

QColor OSDTypeBox::m_color [private]

Definition at line 466 of file osdtypes.h.

Referenced by Draw(), OSDTypeBox(), and SetColor().


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