vdr
2.2.0
|
#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 |
|
inline |
Definition at line 1035 of file osd.h.
Referenced by cSkinClassicDisplayMenu::SetEvent(), cSkinCursesDisplayMenu::SetEvent(), cSkinSTTNGDisplayMenu::SetEvent(), cSkinLCARSDisplayMenu::SetEvent(), cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinSTTNGDisplayMenu::SetRecording(), and cSkinLCARSDisplayMenu::SetRecording().
void cTextScroller::Scroll | ( | bool | Up, |
bool | Page | ||
) |
Definition at line 2167 of file osd.c.
References cPixmapMemory::DrawText().
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 2137 of file osd.c.
References cPixmapMemory::DrawText(), Font, and min().
Referenced by cSkinClassicDisplayMenu::SetEvent(), cSkinCursesDisplayMenu::SetEvent(), cSkinSTTNGDisplayMenu::SetEvent(), cSkinLCARSDisplayMenu::SetEvent(), cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinSTTNGDisplayMenu::SetRecording(), and cSkinLCARSDisplayMenu::SetRecording().
|
inline |
Definition at line 1036 of file osd.h.
References cTextWrapper::Lines().
|
private |