|
vdr
2.0.7
|
#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 1017 of file osd.h.
References CanScrollDown(), and CanScrollUp().
Referenced by cSkinLCARSDisplayMenu::DrawTextScrollbar(), cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
|
inline |
Definition at line 1019 of file osd.h.
References Total().
Referenced by CanScroll(), cSkinLCARSDisplayMenu::DrawTextScrollbar(), Scroll(), cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
|
inline |
Definition at line 1018 of file osd.h.
Referenced by CanScroll(), cSkinLCARSDisplayMenu::DrawTextScrollbar(), Scroll(), cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
|
private |
Definition at line 2115 of file osd.c.
References colorBg, colorFg, cOsd::DrawText(), font, cTextWrapper::GetLine(), cFont::Height(), left, offset, osd, shown, textWrapper, top, and width.
|
inline |
Definition at line 1013 of file osd.h.
References height.
Referenced by Set(), cSkinClassicDisplayMenu::SetEvent(), cSkinCursesDisplayMenu::SetEvent(), cSkinSTTNGDisplayMenu::SetEvent(), cSkinLCARSDisplayMenu::SetEvent(), cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinSTTNGDisplayMenu::SetRecording(), cSkinLCARSDisplayMenu::SetRecording(), cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
|
inline |
|
inline |
Definition at line 1015 of file osd.h.
References offset.
Referenced by cSkinLCARSDisplayMenu::DrawTextScrollbar(), cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
| void cTextScroller::Reset | ( | void | ) |
Definition at line 2110 of file osd.c.
References osd.
Referenced by cSkinClassicDisplayMenu::Clear(), cSkinCursesDisplayMenu::Clear(), cSkinSTTNGDisplayMenu::Clear(), and cSkinLCARSDisplayMenu::Clear().
| void cTextScroller::Scroll | ( | bool | Up, |
| bool | Page | ||
| ) |
Definition at line 2123 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 | ||
| ) |
Definition at line 2093 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(), cSkinLCARSDisplayMenu::SetEvent(), cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinSTTNGDisplayMenu::SetRecording(), cSkinLCARSDisplayMenu::SetRecording(), cSkinClassicDisplayMenu::SetText(), cSkinCursesDisplayMenu::SetText(), cSkinSTTNGDisplayMenu::SetText(), and cSkinLCARSDisplayMenu::SetText().
|
inline |
Definition at line 1016 of file osd.h.
References shown.
Referenced by cSkinLCARSDisplayMenu::DrawTextScrollbar(), cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
|
inline |
Definition at line 1011 of file osd.h.
References top.
Referenced by Set(), cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
|
inline |
Definition at line 1014 of file osd.h.
References cTextWrapper::Lines().
Referenced by CanScrollDown(), cSkinLCARSDisplayMenu::DrawTextScrollbar(), Scroll(), Set(), cSkinClassicDisplayMenu::SetTextScrollbar(), cSkinCursesDisplayMenu::SetTextScrollbar(), and cSkinSTTNGDisplayMenu::SetTextScrollbar().
|
inline |
|
private |
Definition at line 1001 of file osd.h.
Referenced by cTextScroller(), DrawText(), and Set().
|
private |
Definition at line 1001 of file osd.h.
Referenced by cTextScroller(), DrawText(), and Set().
|
private |
Definition at line 1000 of file osd.h.
Referenced by cTextScroller(), DrawText(), and Set().
|
private |
Definition at line 999 of file osd.h.
Referenced by cTextScroller(), Height(), and Set().
|
private |
Definition at line 999 of file osd.h.
Referenced by cTextScroller(), DrawText(), Left(), and Set().
|
private |
Definition at line 1002 of file osd.h.
Referenced by cTextScroller(), DrawText(), Offset(), Scroll(), and Set().
|
private |
Definition at line 998 of file osd.h.
Referenced by cTextScroller(), DrawText(), Reset(), and Set().
|
private |
Definition at line 1002 of file osd.h.
Referenced by cTextScroller(), DrawText(), Scroll(), Set(), and Shown().
|
private |
Definition at line 1003 of file osd.h.
Referenced by DrawText(), and Set().
|
private |
Definition at line 999 of file osd.h.
Referenced by cTextScroller(), DrawText(), Set(), and Top().
|
private |
Definition at line 999 of file osd.h.
Referenced by cTextScroller(), DrawText(), Set(), and Width().
1.8.8