OSDTypePosSlider Class Reference

#include <osdtypes.h>

Inheritance diagram for OSDTypePosSlider:

OSDTypeImage OSDType

List of all members.


Detailed Description

Definition at line 357 of file osdtypes.h.


Public Member Functions

 OSDTypePosSlider (const QString &name, const QString &filename, QRect displayrect, float wmult, float hmult, int scalew=-1, int scaleh=-1)
 ~OSDTypePosSlider ()
void Reinit (float wmult, float hmult)
void SetRectangle (QRect rect)
QRect ImageSize ()
void SetPosition (int pos)
int GetPosition ()

Private Attributes

QRect m_displayrect
QRect m_unbiasedrect
int m_maxval
int m_curval

Constructor & Destructor Documentation

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

Definition at line 1757 of file osdtypes.cpp.

OSDTypePosSlider::~OSDTypePosSlider (  ) 

Definition at line 1770 of file osdtypes.cpp.


Member Function Documentation

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

Reimplemented from OSDTypeImage.

Definition at line 1774 of file osdtypes.cpp.

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

Definition at line 367 of file osdtypes.h.

QRect OSDTypePosSlider::ImageSize (  )  [inline]

Definition at line 368 of file osdtypes.h.

void OSDTypePosSlider::SetPosition ( int  pos  ) 

Definition at line 1780 of file osdtypes.cpp.

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

int OSDTypePosSlider::GetPosition (  )  [inline]

Definition at line 371 of file osdtypes.h.

Referenced by OSD::UpdateStatus().


Member Data Documentation

Definition at line 374 of file osdtypes.h.

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

Definition at line 375 of file osdtypes.h.

Referenced by OSDTypePosSlider(), and Reinit().

Definition at line 376 of file osdtypes.h.

Referenced by OSDTypePosSlider().

Definition at line 377 of file osdtypes.h.

Referenced by GetPosition(), OSDTypePosSlider(), 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