|
vdr
1.7.27
|
#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) |
| 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) |
| 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 |
Definition at line 991 of file include/vdr/osd.h.
| cTextScroller::cTextScroller | ( | void | ) |
| cTextScroller::cTextScroller | ( | cOsd * | Osd, |
| int | Left, | ||
| int | Top, | ||
| int | Width, | ||
| int | Height, | ||
| const char * | Text, | ||
| const cFont * | Font, | ||
| tColor | ColorFg, | ||
| tColor | ColorBg | ||
| ) |
| cTextScroller::cTextScroller | ( | void | ) |
| cTextScroller::cTextScroller | ( | cOsd * | Osd, |
| int | Left, | ||
| int | Top, | ||
| int | Width, | ||
| int | Height, | ||
| const char * | Text, | ||
| const cFont * | Font, | ||
| tColor | ColorFg, | ||
| tColor | ColorBg | ||
| ) |
| bool cTextScroller::CanScroll | ( | void | ) | [inline] |
Definition at line 1012 of file include/vdr/osd.h.
References CanScrollDown(), and CanScrollUp().
Referenced by cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
| bool cTextScroller::CanScroll | ( | void | ) | [inline] |
Definition at line 1012 of file osd.h.
References CanScrollDown(), and CanScrollUp().
| bool cTextScroller::CanScrollDown | ( | void | ) | [inline] |
Definition at line 1014 of file include/vdr/osd.h.
References offset, shown, and Total().
Referenced by CanScroll(), Scroll(), cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
| bool cTextScroller::CanScrollDown | ( | void | ) | [inline] |
| bool cTextScroller::CanScrollUp | ( | void | ) | [inline] |
Definition at line 1013 of file include/vdr/osd.h.
References offset.
Referenced by CanScroll(), Scroll(), cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
| bool cTextScroller::CanScrollUp | ( | void | ) | [inline] |
| void cTextScroller::DrawText | ( | void | ) | [private] |
Definition at line 2097 of file osd.c.
References colorBg, colorFg, cOsd::DrawText(), font, cTextWrapper::GetLine(), cFont::Height(), left, offset, osd, shown, textWrapper, top, and width.
| void cTextScroller::DrawText | ( | void | ) | [private] |
| int cTextScroller::Height | ( | void | ) | [inline] |
| int cTextScroller::Height | ( | void | ) | [inline] |
Definition at line 1008 of file include/vdr/osd.h.
References height.
Referenced by Set(), cSkinClassicDisplayMenu::SetEvent(), cSkinCursesDisplayMenu::SetEvent(), cSkinSTTNGDisplayMenu::SetEvent(), cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinSTTNGDisplayMenu::SetRecording(), cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
| int cTextScroller::Left | ( | void | ) | [inline] |
| int cTextScroller::Left | ( | void | ) | [inline] |
| int cTextScroller::Offset | ( | void | ) | [inline] |
Definition at line 1010 of file include/vdr/osd.h.
References offset.
Referenced by cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
| int cTextScroller::Offset | ( | void | ) | [inline] |
| void cTextScroller::Reset | ( | void | ) |
| void cTextScroller::Reset | ( | void | ) |
Definition at line 2092 of file osd.c.
References osd.
Referenced by cSkinClassicDisplayMenu::Clear(), cSkinCursesDisplayMenu::Clear(), and cSkinSTTNGDisplayMenu::Clear().
| void cTextScroller::Scroll | ( | bool | Up, |
| bool | Page | ||
| ) |
| void cTextScroller::Scroll | ( | bool | Up, |
| bool | Page | ||
| ) |
Definition at line 2105 of file osd.c.
References CanScrollDown(), CanScrollUp(), DrawText(), offset, shown, and Total().
Referenced by cSkinDisplayMenu::Scroll().
| void cTextScroller::Set | ( | cOsd * | Osd, |
| int | Left, | ||
| int | Top, | ||
| int | Width, | ||
| int | Height, | ||
| const char * | Text, | ||
| const cFont * | Font, | ||
| tColor | ColorFg, | ||
| tColor | ColorBg | ||
| ) |
| 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 2075 of file osd.c.
References colorBg, colorFg, DrawText(), Font, font, cFont::Height(), height, Height(), left, Left(), min(), offset, osd, cTextWrapper::Set(), shown, textWrapper, top, Top(), Total(), width, and Width().
Referenced by cTextScroller(), cSkinClassicDisplayMenu::SetEvent(), cSkinCursesDisplayMenu::SetEvent(), cSkinSTTNGDisplayMenu::SetEvent(), cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinSTTNGDisplayMenu::SetRecording(), cSkinClassicDisplayMenu::SetText(), cSkinCursesDisplayMenu::SetText(), and cSkinSTTNGDisplayMenu::SetText().
| int cTextScroller::Shown | ( | void | ) | [inline] |
Definition at line 1011 of file include/vdr/osd.h.
References shown.
Referenced by cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
| int cTextScroller::Shown | ( | void | ) | [inline] |
| int cTextScroller::Top | ( | void | ) | [inline] |
| int cTextScroller::Top | ( | void | ) | [inline] |
Definition at line 1006 of file include/vdr/osd.h.
References top.
Referenced by Set(), cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
| int cTextScroller::Total | ( | void | ) | [inline] |
Definition at line 1009 of file include/vdr/osd.h.
References cTextWrapper::Lines(), and textWrapper.
Referenced by CanScrollDown(), Scroll(), Set(), cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
| int cTextScroller::Total | ( | void | ) | [inline] |
Definition at line 1009 of file osd.h.
References cTextWrapper::Lines(), and textWrapper.
| int cTextScroller::Width | ( | void | ) | [inline] |
| int cTextScroller::Width | ( | void | ) | [inline] |
tColor cTextScroller::colorBg [private] |
Definition at line 996 of file include/vdr/osd.h.
Referenced by cTextScroller(), DrawText(), and Set().
tColor cTextScroller::colorFg [private] |
Definition at line 996 of file include/vdr/osd.h.
Referenced by cTextScroller(), DrawText(), and Set().
const cFont * cTextScroller::font [private] |
Definition at line 995 of file include/vdr/osd.h.
Referenced by cTextScroller(), DrawText(), and Set().
int cTextScroller::height [private] |
Definition at line 994 of file include/vdr/osd.h.
Referenced by cTextScroller(), Height(), and Set().
int cTextScroller::left [private] |
Definition at line 994 of file include/vdr/osd.h.
Referenced by cTextScroller(), DrawText(), Left(), and Set().
int cTextScroller::offset [private] |
Definition at line 997 of file include/vdr/osd.h.
Referenced by CanScrollDown(), CanScrollUp(), cTextScroller(), DrawText(), Offset(), Scroll(), and Set().
cOsd * cTextScroller::osd [private] |
Definition at line 993 of file include/vdr/osd.h.
Referenced by cTextScroller(), DrawText(), Reset(), and Set().
int cTextScroller::shown [private] |
Definition at line 997 of file include/vdr/osd.h.
Referenced by CanScrollDown(), cTextScroller(), DrawText(), Scroll(), Set(), and Shown().
cTextWrapper cTextScroller::textWrapper [private] |
Definition at line 998 of file include/vdr/osd.h.
Referenced by DrawText(), Set(), and Total().
int cTextScroller::top [private] |
Definition at line 994 of file include/vdr/osd.h.
Referenced by cTextScroller(), DrawText(), Set(), and Top().
int cTextScroller::width [private] |
Definition at line 994 of file include/vdr/osd.h.
Referenced by cTextScroller(), DrawText(), Set(), and Width().
1.8.0