vdr 2.7.6
|
#include <osd.h>
Public Member Functions | |
cTextScroller (void) | |
cTextScroller (cOsd *Osd, int Left, int Top, int Width, int Height, const char *Text, const cFont *Font, tColor ColorFg, tColor ColorBg) | |
void | Set (cOsd *Osd, int Left, int Top, int Width, int Height, const char *Text, const cFont *Font, tColor ColorFg, tColor ColorBg) |
void | Reset (void) |
int | Left (void) |
int | Top (void) |
int | Width (void) |
int | Height (void) |
int | Total (void) |
int | Offset (void) |
int | Shown (void) |
bool | CanScroll (void) |
bool | CanScrollUp (void) |
bool | CanScrollDown (void) |
void | Scroll (bool Up, bool Page) |
Private Member Functions | |
void | DrawText (void) |
Private Attributes | |
cOsd * | osd |
int | left |
int | top |
int | width |
int | height |
const cFont * | font |
tColor | colorFg |
tColor | colorBg |
int | offset |
int | shown |
cTextWrapper | textWrapper |
cTextScroller::cTextScroller | ( | void | ) |
|
inline |
Definition at line 1092 of file osd.h.
References CanScrollDown(), and CanScrollUp().
|
inline |
|
inline |
|
private |
|
inline |
Definition at line 1088 of file osd.h.
References height.
Referenced by cTextScroller(), Set(), cSkinClassicDisplayMenu::SetEvent(), cSkinCursesDisplayMenu::SetEvent(), cSkinLCARSDisplayMenu::SetEvent(), cSkinSTTNGDisplayMenu::SetEvent(), cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinLCARSDisplayMenu::SetRecording(), and cSkinSTTNGDisplayMenu::SetRecording().
|
inline |
void cTextScroller::Scroll | ( | bool | Up, |
bool | Page ) |
Definition at line 2451 of file osd.c.
References CanScrollDown(), CanScrollUp(), DrawText(), offset, shown, and Total().
void cTextScroller::Set | ( | cOsd * | Osd, |
int | Left, | ||
int | Top, | ||
int | Width, | ||
int | Height, | ||
const char * | Text, | ||
const cFont * | Font, | ||
tColor | ColorFg, | ||
tColor | ColorBg ) |
Definition at line 2421 of file osd.c.
References colorBg, colorFg, DrawText(), Font, font, Height(), height, Left(), left, min(), offset, osd, shown, textWrapper, Top(), top, Total(), Width(), and width.
Referenced by cTextScroller(), cSkinClassicDisplayMenu::SetEvent(), cSkinCursesDisplayMenu::SetEvent(), cSkinLCARSDisplayMenu::SetEvent(), cSkinSTTNGDisplayMenu::SetEvent(), cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinLCARSDisplayMenu::SetRecording(), and cSkinSTTNGDisplayMenu::SetRecording().
|
inline |
|
inline |
Definition at line 1089 of file osd.h.
References textWrapper.
Referenced by CanScrollDown(), Scroll(), and Set().
|
inline |
|
private |
Definition at line 1076 of file osd.h.
Referenced by cTextScroller(), DrawText(), and Set().
|
private |
Definition at line 1076 of file osd.h.
Referenced by cTextScroller(), DrawText(), and Set().
|
private |
Definition at line 1075 of file osd.h.
Referenced by cTextScroller(), DrawText(), and Set().
|
private |
Definition at line 1074 of file osd.h.
Referenced by cTextScroller(), Height(), and Set().
|
private |
Definition at line 1074 of file osd.h.
Referenced by cTextScroller(), DrawText(), Left(), and Set().
|
private |
Definition at line 1077 of file osd.h.
Referenced by CanScrollDown(), CanScrollUp(), cTextScroller(), DrawText(), Offset(), Scroll(), and Set().
|
private |
Definition at line 1073 of file osd.h.
Referenced by cTextScroller(), DrawText(), Reset(), and Set().
|
private |
Definition at line 1077 of file osd.h.
Referenced by CanScrollDown(), cTextScroller(), DrawText(), Scroll(), Set(), and Shown().
|
private |
Definition at line 1078 of file osd.h.
Referenced by DrawText(), Set(), and Total().
|
private |
Definition at line 1074 of file osd.h.
Referenced by cTextScroller(), DrawText(), Set(), and Top().
|
private |
Definition at line 1074 of file osd.h.
Referenced by cTextScroller(), DrawText(), Set(), and Width().