Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Class: kodi::gui::controls::CFadeLabel
Functions | |
kodi::gui::controls::CFadeLabel::CFadeLabel (CWindow *window, int controlId) | |
Construct a new control. | |
kodi::gui::controls::CFadeLabel::~CFadeLabel () override=default | |
Destructor. | |
void | kodi::gui::controls::CFadeLabel::SetVisible (bool visible) |
Set the control on window to visible. | |
void | kodi::gui::controls::CFadeLabel::AddLabel (const std::string &label) |
To add additional text string on fade label. | |
std::string | kodi::gui::controls::CFadeLabel::GetLabel () const |
Get the used text from button. | |
void | kodi::gui::controls::CFadeLabel::SetScrolling (bool scroll) |
To enable or disable scrolling on fade label. | |
void | kodi::gui::controls::CFadeLabel::Reset () |
To reset al inserted labels. | |
Class: kodi::gui::controls::CFadeLabel
You can choose the font, size, colour, location and contents of the text to be displayed. The first piece of information to display fades in over 50 frames, then scrolls off to the left. Once it is finished scrolling off screen, the second piece of information fades in and the process repeats. A fade label control is not supported in a list container.
It has the header #include <kodi/gui/controls/FadeLabel.h> be included to enjoy it.
Here you find the needed skin part for a fade label control.
|
inline |
To add additional text string on fade label.
[in] | label | Text to show |
Construct a new control.
[in] | window | Related window control class |
[in] | controlId | Used skin xml control id |
|
inline |
Get the used text from button.
|
inline |
To reset al inserted labels.
To enable or disable scrolling on fade label.
[in] | scroll | To enable scrolling set to true, otherwise is disabled |
Set the control on window to visible.
[in] | visible | If true visible, otherwise hidden |
|
overridedefault |
Destructor.