vdr 2.6.7
|
Public Member Functions | |
cSkinLCARSDisplayReplay (bool ModeOnly) | |
virtual | ~cSkinLCARSDisplayReplay () |
virtual void | SetRecording (const cRecording *Recording) |
virtual void | SetTitle (const char *Title) |
virtual void | SetMode (bool Play, bool Forward, int Speed) |
virtual void | SetProgress (int Current, int Total) |
virtual void | SetCurrent (const char *Current) |
virtual void | SetTotal (const char *Total) |
virtual void | SetJump (const char *Jump) |
virtual void | SetMessage (eMessageType Type, const char *Text) |
virtual void | Flush (void) |
![]() | |
cSkinDisplayReplay (void) | |
virtual void | SetMarks (const cMarks *Marks) |
![]() | |
cSkinDisplay (void) | |
virtual | ~cSkinDisplay () |
int | EditableWidth (void) |
void | SetEditableWidth (int Width) |
virtual void | SetButtons (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL) |
Private Member Functions | |
void | DrawDate (void) |
void | DrawTrack (void) |
Private Attributes | |
cOsd * | osd |
int | xp00 |
int | xp01 |
int | xp02 |
int | xp03 |
int | xp04 |
int | xp05 |
int | xp06 |
int | xp07 |
int | xp08 |
int | xp09 |
int | xp10 |
int | xp11 |
int | xp12 |
int | xp13 |
int | xp14 |
int | xp15 |
int | yp00 |
int | yp01 |
int | yp02 |
int | yp03 |
int | yp04 |
int | yp05 |
int | yp06 |
int | yp07 |
int | yp08 |
int | yp09 |
bool | modeOnly |
int | lineHeight |
tColor | frameColor |
int | lastCurrentWidth |
int | lastTotalWidth |
cString | lastDate |
tTrackId | lastTrackId |
Additional Inherited Members | |
![]() | |
static int | AvgCharWidth (void) |
static cSkinDisplay * | Current (void) |
![]() | |
const cMarks * | marks |
Definition at line 1785 of file skinlcars.c.
cSkinLCARSDisplayReplay::cSkinLCARSDisplayReplay | ( | bool | ModeOnly | ) |
Definition at line 1813 of file skinlcars.c.
References clrBackground, clrTransparent, cTheme::Color(), CreateOsd(), cOsd::DrawEllipse(), cOsd::DrawRectangle(), fontOsd, frameColor, Gap, cFont::GetFont(), cFont::Height(), lastCurrentWidth, lastTotalWidth, lastTrackId, lineHeight, modeOnly, osd, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), Theme, xp00, xp01, xp02, xp03, xp04, xp05, xp06, xp07, xp08, xp09, xp10, xp11, xp12, xp13, xp14, xp15, yp00, yp01, yp02, yp03, yp04, yp05, yp06, yp07, yp08, and yp09.
|
virtual |
Definition at line 1877 of file skinlcars.c.
References osd.
|
private |
Definition at line 1882 of file skinlcars.c.
References cTheme::Color(), DayDateTime(), cOsd::DrawText(), fontOsd, cFont::GetFont(), lastDate, lineHeight, osd, taBorder, taRight, Theme, xp12, xp13, and yp08.
Referenced by Flush().
|
private |
Definition at line 1891 of file skinlcars.c.
References clrBackground, cTheme::Color(), tTrackId::description, cOsd::DrawText(), fontOsd, cDevice::GetCurrentAudioTrack(), cFont::GetFont(), cDevice::GetTrack(), lastTrackId, osd, cDevice::PrimaryDevice(), strn0cpy(), Theme, xp03, xp07, and yp04.
Referenced by Flush().
|
virtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 1966 of file skinlcars.c.
References DrawDate(), DrawTrack(), cOsd::Flush(), modeOnly, and osd.
|
virtual |
Sets the current position within the recording, as a user readable string if the form "h:mm:ss.ff".
The ".ff" part, indicating the frame number, is optional and the actual implementation needs to take care that it is erased from the display when a Current string with ".ff" is followed by one without it.
Implements cSkinDisplayReplay.
Definition at line 1935 of file skinlcars.c.
References clrBackground, cTheme::Color(), cSkinDisplay::Current(), cOsd::DrawText(), fontOsd, cFont::GetFont(), lastCurrentWidth, lineHeight, max(), osd, taLeft, Theme, cFont::Width(), xp03, and yp03.
|
virtual |
Sets the prompt that allows the user to enter a jump point.
Jump is a string of the form "Jump: mm:ss". The actual implementation needs to be able to handle variations in the length of this string, which will occur when the user enters an actual value. If Jump is NULL, the jump prompt shall be removed from the display.
Implements cSkinDisplayReplay.
Definition at line 1951 of file skinlcars.c.
References cTheme::Color(), cOsd::DrawText(), fontOsd, frameColor, cFont::GetFont(), osd, taCenter, Theme, xp06, xp07, and yp08.
|
virtual |
Sets a one line message Text, with the given Type.
Type can be used to determine, e.g., the colors for displaying the Text. If Text is NULL, any previously displayed message must be removed, and any previous contents overwritten by the message must be restored.
Implements cSkinDisplayReplay.
Definition at line 1956 of file skinlcars.c.
References cTheme::Color(), cOsd::DrawText(), cFont::GetFont(), osd, cOsd::RestoreRegion(), cOsd::SaveRegion(), taCenter, Theme, xp06, xp13, yp08, and yp09.
|
virtual |
Sets the current replay mode, which can be used to display some indicator, showing the user whether we are currently in normal play mode, fast forward etc.
Implements cSkinDisplayReplay.
Definition at line 1922 of file skinlcars.c.
References cTheme::Color(), constrain(), cOsd::DrawBitmap(), frameColor, cBitmap::Height(), osd, ReplaySymbols, Theme, cBitmap::Width(), xp01, yp02, and yp03.
|
virtual |
This function will be called whenever the position in or the total length of the recording has changed.
A cProgressBar shall then be used to display a progress indicator.
Implements cSkinDisplayReplay.
Definition at line 1929 of file skinlcars.c.
References cTheme::Color(), cSkinDisplay::Current(), cOsd::DrawBitmap(), lineHeight, cSkinDisplayReplay::marks, osd, Theme, xp03, xp13, and yp02.
|
virtual |
Sets the recording that is currently being played.
The default implementation calls SetTitle() with the title and short text of the Recording. A derived class can use any information provided by the given Recording and display it.
Reimplemented from cSkinDisplayReplay.
Definition at line 1901 of file skinlcars.c.
References clrBackground, cTheme::Color(), cOsd::DrawText(), fontOsd, frameColor, cFont::GetFont(), cRecording::Info(), lineHeight, osd, SetTitle(), ShortDateString(), cRecordingInfo::ShortText(), cRecording::Start(), taBorder, taBottom, taRight, taTop, Theme, TimeString(), cRecordingInfo::Title(), xp00, xp02, xp03, xp13, yp00, and yp01.
|
virtual |
Sets the title of the recording.
Implements cSkinDisplayReplay.
Definition at line 1910 of file skinlcars.c.
References clrBackground, cTheme::Color(), cOsd::DrawText(), fontOsd, cFont::GetFont(), osd, Theme, xp03, xp13, and yp00.
Referenced by SetRecording().
|
virtual |
Sets the total length of the recording, as a user readable string if the form "h:mm:ss".
Implements cSkinDisplayReplay.
Definition at line 1943 of file skinlcars.c.
References clrBackground, cTheme::Color(), cOsd::DrawText(), fontOsd, cFont::GetFont(), lastTotalWidth, lineHeight, max(), osd, taRight, Theme, cFont::Width(), xp13, and yp03.
|
private |
Definition at line 1792 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), SetJump(), SetMode(), and SetRecording().
|
private |
Definition at line 1793 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), and SetCurrent().
|
private |
Definition at line 1795 of file skinlcars.c.
Referenced by DrawDate().
|
private |
Definition at line 1794 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), and SetTotal().
|
private |
Definition at line 1796 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), and DrawTrack().
|
private |
Definition at line 1791 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), DrawDate(), SetCurrent(), SetProgress(), SetRecording(), and SetTotal().
|
private |
Definition at line 1790 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), and Flush().
|
private |
Definition at line 1787 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), DrawDate(), DrawTrack(), Flush(), SetCurrent(), SetJump(), SetMessage(), SetMode(), SetProgress(), SetRecording(), SetTitle(), SetTotal(), and ~cSkinLCARSDisplayReplay().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), and SetRecording().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), and SetMode().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), and SetRecording().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), DrawTrack(), SetCurrent(), SetProgress(), SetRecording(), and SetTitle().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), SetJump(), and SetMessage().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), DrawTrack(), and SetJump().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), and DrawDate().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), DrawDate(), SetMessage(), SetProgress(), SetRecording(), SetTitle(), and SetTotal().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay().
|
private |
Definition at line 1788 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay().
|
private |
Definition at line 1789 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), SetRecording(), and SetTitle().
|
private |
Definition at line 1789 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), and SetRecording().
|
private |
Definition at line 1789 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), SetMode(), and SetProgress().
|
private |
Definition at line 1789 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), SetCurrent(), SetMode(), and SetTotal().
|
private |
Definition at line 1789 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), and DrawTrack().
|
private |
Definition at line 1789 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay().
|
private |
Definition at line 1789 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay().
|
private |
Definition at line 1789 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay().
|
private |
Definition at line 1789 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), DrawDate(), SetJump(), and SetMessage().
|
private |
Definition at line 1789 of file skinlcars.c.
Referenced by cSkinLCARSDisplayReplay(), and SetMessage().