vdr  1.7.27
Public Member Functions | Private Member Functions | Private Attributes
cTextScroller Class Reference

#include <osd.h>

List of all members.

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

cOsdosd
int left
int top
int width
int height
const cFontfont
tColor colorFg
tColor colorBg
int offset
int shown
cTextWrapper textWrapper

Detailed Description

Definition at line 991 of file include/vdr/osd.h.


Constructor & Destructor Documentation

Definition at line 2059 of file osd.c.

References colorBg, colorFg, font, height, left, offset, osd, shown, top, and width.

cTextScroller::cTextScroller ( cOsd Osd,
int  Left,
int  Top,
int  Width,
int  Height,
const char *  Text,
const cFont Font,
tColor  ColorFg,
tColor  ColorBg 
)

Definition at line 2070 of file osd.c.

References Set().

cTextScroller::cTextScroller ( cOsd Osd,
int  Left,
int  Top,
int  Width,
int  Height,
const char *  Text,
const cFont Font,
tColor  ColorFg,
tColor  ColorBg 
)

Member Function Documentation

bool cTextScroller::CanScroll ( void  ) [inline]
bool cTextScroller::CanScroll ( void  ) [inline]

Definition at line 1012 of file osd.h.

References CanScrollDown(), and CanScrollUp().

bool cTextScroller::CanScrollDown ( void  ) [inline]
bool cTextScroller::CanScrollDown ( void  ) [inline]

Definition at line 1014 of file osd.h.

References offset, shown, and Total().

bool cTextScroller::CanScrollUp ( void  ) [inline]
bool cTextScroller::CanScrollUp ( void  ) [inline]

Definition at line 1013 of file osd.h.

References offset.

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.

Referenced by Scroll(), and Set().

void cTextScroller::DrawText ( void  ) [private]
int cTextScroller::Height ( void  ) [inline]

Definition at line 1008 of file osd.h.

References height.

int cTextScroller::Height ( void  ) [inline]
int cTextScroller::Left ( void  ) [inline]

Definition at line 1005 of file osd.h.

References left.

int cTextScroller::Left ( void  ) [inline]

Definition at line 1005 of file include/vdr/osd.h.

References left.

Referenced by Set().

int cTextScroller::Offset ( void  ) [inline]
int cTextScroller::Offset ( void  ) [inline]

Definition at line 1010 of file osd.h.

References offset.

void cTextScroller::Reset ( void  )
void cTextScroller::Reset ( void  )
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 
)
int cTextScroller::Shown ( void  ) [inline]
int cTextScroller::Shown ( void  ) [inline]

Definition at line 1011 of file osd.h.

References shown.

int cTextScroller::Top ( void  ) [inline]

Definition at line 1006 of file osd.h.

References top.

int cTextScroller::Top ( void  ) [inline]
int cTextScroller::Total ( void  ) [inline]
int cTextScroller::Total ( void  ) [inline]

Definition at line 1009 of file osd.h.

References cTextWrapper::Lines(), and textWrapper.

int cTextScroller::Width ( void  ) [inline]

Definition at line 1007 of file include/vdr/osd.h.

References width.

Referenced by Set().

int cTextScroller::Width ( void  ) [inline]

Definition at line 1007 of file osd.h.

References width.


Member Data Documentation

Definition at line 996 of file include/vdr/osd.h.

Referenced by cTextScroller(), DrawText(), and Set().

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().

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().


The documentation for this class was generated from the following files: