vdr  1.7.27
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
cSkinSTTNGDisplayTracks Class Reference

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)
virtual void SetAudioChannel (int AudioChannel)
virtual void Flush (void)

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 1008 of file skinsttng.c.


Constructor & Destructor Documentation

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

Definition at line 1113 of file skinsttng.c.

References osd.


Member Function Documentation

void cSkinSTTNGDisplayTracks::Flush ( void  ) [virtual]

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 1166 of file skinsttng.c.

References cOsd::Flush(), and osd.

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 1151 of file skinsttng.c.

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

void cSkinSTTNGDisplayTracks::SetItem ( const char *  Text,
int  Index,
bool  Current 
) [private]
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 1144 of file skinsttng.c.

References currentIndex, and SetItem().


Member Data Documentation

Definition at line 1016 of file skinsttng.c.

Referenced by SetAudioChannel().

Definition at line 1016 of file skinsttng.c.

Referenced by SetAudioChannel().

Definition at line 1016 of file skinsttng.c.

Referenced by SetAudioChannel().

Definition at line 1015 of file skinsttng.c.

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

Definition at line 1014 of file skinsttng.c.

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

Definition at line 1013 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetItem().

Definition at line 1011 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

Definition at line 1011 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetItem().

Definition at line 1011 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetItem().

Definition at line 1011 of file skinsttng.c.

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

Definition at line 1011 of file skinsttng.c.

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

Definition at line 1011 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

Definition at line 1011 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

Definition at line 1011 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

Definition at line 1012 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

Definition at line 1012 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

Definition at line 1012 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

Definition at line 1012 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetItem().

Definition at line 1012 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

Definition at line 1012 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

Definition at line 1012 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetAudioChannel().

Definition at line 1012 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetAudioChannel().


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