|
ncmpc
0.31
|
#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 () |
| gcc_pure std::pair< const char *, size_t > | 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.
| text | the text in the locale charset |
| void BasicMarquee::Clear | ( | ) |
Removes the text. It may be reused with Set().
|
inline |
|
inline |
| gcc_pure std::pair<const char *, size_t> BasicMarquee::ScrollString | ( | ) | const |
1.8.13