|
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
Class: kodi::gui::controls::CProgress Functions | |
| kodi::gui::controls::CProgress::CProgress (CWindow *window, int controlId) | |
| Construct a new control. More... | |
| kodi::gui::controls::CProgress::~CProgress () override=default | |
| Destructor. More... | |
| void | kodi::gui::controls::CProgress::SetVisible (bool visible) |
| Set the control on window to visible. More... | |
| void | kodi::gui::controls::CProgress::SetPercentage (float percent) |
| To set Percent position of control. More... | |
| float | kodi::gui::controls::CProgress::GetPercentage () const |
| Get the active percent position of progress bar. More... | |
Class: kodi::gui::controls::CProgress You can choose the position, size, and look of the progress control.
It has the header #include <kodi/gui/controls/Progress.h> be included to enjoy it.
Here you find the needed skin part for a progress control.
Construct a new control.
| [in] | window | Related window control class |
| [in] | controlId | Used skin xml control id |
|
inline |
Get the active percent position of progress bar.
|
inline |
To set Percent position of control.
| [in] | percent | The percent position to use |
Set the control on window to visible.
| [in] | visible | If true visible, otherwise hidden |
|
overridedefault |
Destructor.