class TickerSprocket
Defined in:
The C4Sprockets.h
TickerSprocket
class causes a text widget's contents to scroll horizontally.
Definition
class TickerSprocket final : public Sprocket
Constructor
TickerSprocket(float start, float finish, float time);
Parameters
start |
The start offset of the text, in pixels. |
finish |
The finish offset of the text, in pixels. |
time |
The time over which the text is scrolled from start to finish, in milliseconds. |
Description
The TickerSprocket
class scrolls text in a text widget like a stock ticker. The text must be displayed as a single line.
Base Classes
Sprocket |
A TickerSprocket is a specific type of sprocket.
|