cTextScroller Class Reference

#include <osd.h>

Collaboration diagram for cTextScroller:

Collaboration graph
[legend]

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)

Private Member Functions

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 426 of file osd.h.


Constructor & Destructor Documentation

cTextScroller::cTextScroller ( void   ) 

Definition at line 918 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 929 of file osd.c.

References Set().

Here is the call graph for this function:


Member Function Documentation

void cTextScroller::DrawText ( void   )  [private]

Definition at line 956 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().

Here is the call graph for this function:

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::Reset ( void   ) 

int cTextScroller::Left ( void   )  [inline]

Definition at line 440 of file osd.h.

References left.

int cTextScroller::Top ( void   )  [inline]

int cTextScroller::Width ( void   )  [inline]

Definition at line 442 of file osd.h.

References width.

int cTextScroller::Height ( void   )  [inline]

int cTextScroller::Total ( void   )  [inline]

int cTextScroller::Offset ( void   )  [inline]

int cTextScroller::Shown ( void   )  [inline]

bool cTextScroller::CanScroll ( void   )  [inline]

Definition at line 447 of file osd.h.

References CanScrollDown(), and CanScrollUp().

Referenced by cSkinSTTNGDisplayMenu::SetTextScrollbar(), cSkinClassicDisplayMenu::SetTextScrollbar(), and cSkinCursesDisplayMenu::SetTextScrollbar().

Here is the call graph for this function:

bool cTextScroller::CanScrollUp ( void   )  [inline]

bool cTextScroller::CanScrollDown ( void   )  [inline]

Definition at line 449 of file osd.h.

References offset, shown, and Total().

Referenced by CanScroll(), Scroll(), cSkinSTTNGDisplayMenu::SetTextScrollbar(), cSkinClassicDisplayMenu::SetTextScrollbar(), and cSkinCursesDisplayMenu::SetTextScrollbar().

Here is the call graph for this function:

void cTextScroller::Scroll ( bool  Up,
bool  Page 
)

Definition at line 964 of file osd.c.

References CanScrollDown(), CanScrollUp(), DrawText(), offset, shown, and Total().

Referenced by cSkinDisplayMenu::Scroll().

Here is the call graph for this function:


Member Data Documentation

Definition at line 428 of file osd.h.

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

int cTextScroller::left [private]

Definition at line 429 of file osd.h.

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

int cTextScroller::top [private]

Definition at line 429 of file osd.h.

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

int cTextScroller::width [private]

Definition at line 429 of file osd.h.

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

int cTextScroller::height [private]

Definition at line 429 of file osd.h.

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

const cFont* cTextScroller::font [private]

Definition at line 430 of file osd.h.

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

Definition at line 431 of file osd.h.

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

Definition at line 431 of file osd.h.

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

int cTextScroller::offset [private]

Definition at line 432 of file osd.h.

Referenced by CanScrollDown(), CanScrollUp(), cTextScroller(), DrawText(), Offset(), Scroll(), and Set().

int cTextScroller::shown [private]

Definition at line 432 of file osd.h.

Referenced by CanScrollDown(), cTextScroller(), DrawText(), Scroll(), Set(), and Shown().

Definition at line 433 of file osd.h.

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


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

Generated on Tue Nov 4 20:02:38 2008 for VDR by  doxygen 1.5.6