ncmpc
0.30
|
#include <BasicMarquee.hxx>
Public Member Functions | |
BasicMarquee (const char *_separator) | |
bool | IsDefined () const |
bool | Set (unsigned width, const char *text) |
void | Clear () |
void | Rewind () |
void | Step () |
char * | ScrollString () const |
This class is used to auto-scroll text which does not fit on the screen. Call hscroll_init() to initialize the object, hscroll_clear() to free resources, and hscroll_set() to begin scrolling.
|
inline |
|
inline |
bool BasicMarquee::Set | ( | unsigned | width, |
const char * | text | ||
) |
Sets a text to scroll. Call Clear() to disable it.
void BasicMarquee::Clear | ( | ) |
Removes the text. It may be reused with Set().
|
inline |
|
inline |
char* BasicMarquee::ScrollString | ( | ) | const |