cSkinSTTNGDisplayTracks Class Reference

Inheritance diagram for cSkinSTTNGDisplayTracks:

Inheritance graph
[legend]
Collaboration diagram for cSkinSTTNGDisplayTracks:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cSkinSTTNGDisplayTracks (const char *Title, int NumTracks, const char *const *Tracks)
virtual ~cSkinSTTNGDisplayTracks ()
virtual void SetTrack (int Index, const char *const *Tracks)
 < This class implements the track display.
virtual void SetAudioChannel (int AudioChannel)
virtual void Flush (void)
 Actually draws the OSD display to the output device.

Private Member Functions

void SetItem (const char *Text, int Index, bool Current)

Private Attributes

cOsdosd
int x0
int x1
int x2
int x3
int x4
int x5
int x6
int x7
int y0
int y1
int y2
int y3
int y4
int y5
int y6
int y7
int lineHeight
tColor frameColor
int currentIndex

Static Private Attributes

static cBitmap bmAudioLeft
static cBitmap bmAudioRight
static cBitmap bmAudioStereo


Detailed Description

Definition at line 878 of file skinsttng.c.


Constructor & Destructor Documentation

cSkinSTTNGDisplayTracks::cSkinSTTNGDisplayTracks ( const char *  Title,
int  NumTracks,
const char *const *  Tracks 
)

Definition at line 900 of file skinsttng.c.

References cOsd::CanHandleAreas(), clrBackground, clrTransparent, cTheme::Color(), currentIndex, cOsd::DrawEllipse(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, frameColor, Gap, cFont::GetFont(), cFont::Height(), lineHeight, max(), cOsdProvider::NewOsd(), oeOk, osd, cSetup::OSDHeight, cSetup::OSDLeft, cSetup::OSDTop, cSetup::OSDWidth, Roundness, cOsd::SetAreas(), SetItem(), Setup, cFont::Width(), x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, y6, and y7.

Here is the call graph for this function:

cSkinSTTNGDisplayTracks::~cSkinSTTNGDisplayTracks (  )  [virtual]

Definition at line 973 of file skinsttng.c.

References osd.


Member Function Documentation

void cSkinSTTNGDisplayTracks::SetItem ( const char *  Text,
int  Index,
bool  Current 
) [private]

Definition at line 978 of file skinsttng.c.

References clrBackground, cTheme::Color(), currentIndex, cOsd::DrawEllipse(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, frameColor, cFont::GetFont(), lineHeight, osd, Roundness, x1, x2, x3, x4, and y3.

Referenced by cSkinSTTNGDisplayTracks(), and SetTrack().

Here is the call graph for this function:

void cSkinSTTNGDisplayTracks::SetTrack ( int  Index,
const char *const *  Tracks 
) [virtual]

< This class implements the track display.

Sets the current track to the one given by Index, which points into the Tracks array of strings.

Implements cSkinDisplayTracks.

Definition at line 1004 of file skinsttng.c.

References currentIndex, and SetItem().

Here is the call graph for this function:

void cSkinSTTNGDisplayTracks::SetAudioChannel ( int  AudioChannel  )  [virtual]

Sets the audio channel indicator. 0=stereo, 1=left, 2=right, -1=don't display the audio channel indicator.

Implements cSkinDisplayTracks.

Definition at line 1011 of file skinsttng.c.

References bmAudioLeft, bmAudioRight, bmAudioStereo, cTheme::Color(), cOsd::DrawBitmap(), cOsd::DrawRectangle(), frameColor, cBitmap::Height(), osd, x3, x4, y6, and y7.

Here is the call graph for this function:

void cSkinSTTNGDisplayTracks::Flush ( void   )  [virtual]

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 1025 of file skinsttng.c.

References cOsd::Flush(), and osd.

Here is the call graph for this function:


Member Data Documentation

cOsd* cSkinSTTNGDisplayTracks::osd [private]

Definition at line 880 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), Flush(), SetAudioChannel(), SetItem(), and ~cSkinSTTNGDisplayTracks().

int cSkinSTTNGDisplayTracks::x0 [private]

Definition at line 881 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

int cSkinSTTNGDisplayTracks::x1 [private]

Definition at line 881 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetItem().

int cSkinSTTNGDisplayTracks::x2 [private]

Definition at line 881 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetItem().

int cSkinSTTNGDisplayTracks::x3 [private]

Definition at line 881 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), SetAudioChannel(), and SetItem().

int cSkinSTTNGDisplayTracks::x4 [private]

Definition at line 881 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), SetAudioChannel(), and SetItem().

int cSkinSTTNGDisplayTracks::x5 [private]

Definition at line 881 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

int cSkinSTTNGDisplayTracks::x6 [private]

Definition at line 881 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

int cSkinSTTNGDisplayTracks::x7 [private]

Definition at line 881 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

int cSkinSTTNGDisplayTracks::y0 [private]

Definition at line 882 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

int cSkinSTTNGDisplayTracks::y1 [private]

Definition at line 882 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

int cSkinSTTNGDisplayTracks::y2 [private]

Definition at line 882 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

int cSkinSTTNGDisplayTracks::y3 [private]

Definition at line 882 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetItem().

int cSkinSTTNGDisplayTracks::y4 [private]

Definition at line 882 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

int cSkinSTTNGDisplayTracks::y5 [private]

Definition at line 882 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

int cSkinSTTNGDisplayTracks::y6 [private]

Definition at line 882 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetAudioChannel().

int cSkinSTTNGDisplayTracks::y7 [private]

Definition at line 882 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetAudioChannel().

int cSkinSTTNGDisplayTracks::lineHeight [private]

Definition at line 883 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetItem().

tColor cSkinSTTNGDisplayTracks::frameColor [private]

Definition at line 884 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), SetAudioChannel(), and SetItem().

int cSkinSTTNGDisplayTracks::currentIndex [private]

Definition at line 885 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), SetItem(), and SetTrack().

cBitmap cSkinSTTNGDisplayTracks::bmAudioLeft [static, private]

Definition at line 886 of file skinsttng.c.

Referenced by SetAudioChannel().

cBitmap cSkinSTTNGDisplayTracks::bmAudioRight [static, private]

Definition at line 886 of file skinsttng.c.

Referenced by SetAudioChannel().

cBitmap cSkinSTTNGDisplayTracks::bmAudioStereo [static, private]

Definition at line 886 of file skinsttng.c.

Referenced by SetAudioChannel().


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 20:28:57 2007 for VDR by  doxygen 1.5.3-20071008