OSDTypeFillSlider Class Reference

#include <osdtypes.h>

Inheritance diagram for OSDTypeFillSlider:

OSDTypeImage OSDType

List of all members.


Detailed Description

Definition at line 380 of file osdtypes.h.


Public Member Functions

 OSDTypeFillSlider (const QString &name, const QString &filename, QRect displayrect, float wmult, float hmult, int scalew=-1, int scaleh=-1)
 ~OSDTypeFillSlider ()
void Reinit (float wmult, float hmult)
void SetRectangle (QRect rect)
QRect ImageSize ()
void SetPosition (int pos)
int GetPosition ()
void Draw (OSDSurface *surface, int fade, int maxfade, int xoff, int yoff)

Private Attributes

QRect m_displayrect
QRect m_unbiasedrect
int m_maxval
int m_curval

Constructor & Destructor Documentation

OSDTypeFillSlider::OSDTypeFillSlider ( const QString &  name,
const QString &  filename,
QRect  displayrect,
float  wmult,
float  hmult,
int  scalew = -1,
int  scaleh = -1 
)

Definition at line 1798 of file osdtypes.cpp.

OSDTypeFillSlider::~OSDTypeFillSlider (  ) 

Definition at line 1813 of file osdtypes.cpp.


Member Function Documentation

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

Reimplemented from OSDTypeImage.

Definition at line 1817 of file osdtypes.cpp.

void OSDTypeFillSlider::SetRectangle ( QRect  rect  )  [inline]

Definition at line 390 of file osdtypes.h.

QRect OSDTypeFillSlider::ImageSize (  )  [inline]

Definition at line 391 of file osdtypes.h.

void OSDTypeFillSlider::SetPosition ( int  pos  ) 

Definition at line 1823 of file osdtypes.cpp.

Referenced by OSD::ShowStatus(), and OSD::UpdateStatus().

int OSDTypeFillSlider::GetPosition (  )  [inline]

Definition at line 394 of file osdtypes.h.

Referenced by OSD::UpdateStatus().

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

Reimplemented from OSDTypeImage.

Definition at line 1834 of file osdtypes.cpp.


Member Data Documentation

Definition at line 399 of file osdtypes.h.

Referenced by OSDTypeFillSlider(), Reinit(), SetPosition(), and SetRectangle().

Definition at line 400 of file osdtypes.h.

Referenced by OSDTypeFillSlider(), and Reinit().

Definition at line 401 of file osdtypes.h.

Referenced by OSDTypeFillSlider().

Definition at line 402 of file osdtypes.h.

Referenced by GetPosition(), OSDTypeFillSlider(), and SetPosition().


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