|
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
#include <Progress.h>
Public Member Functions | |
| CProgress () | |
| Construct a new dialog. More... | |
| ~CProgress () | |
| Destructor. More... | |
| void | Open () |
| To open the dialog. More... | |
| void | SetHeading (const std::string &heading) |
| Set the heading title of dialog. More... | |
| void | SetLine (unsigned int iLine, const std::string &line) |
| To set the line text field on dialog from 0 - 2. More... | |
| void | SetCanCancel (bool canCancel) |
| To enable and show cancel button on dialog. More... | |
| bool | IsCanceled () const |
| To check dialog for clicked cancel button. More... | |
| void | SetPercentage (int percentage) |
| Get the current progress position as percent. More... | |
| int | GetPercentage () const |
| To set the current progress position as percent. More... | |
| void | ShowProgressBar (bool onOff) |
| To show or hide progress bar dialog. More... | |
| void | SetProgressMax (int max) |
Set the maximum position of progress, needed if SetProgressAdvance(...) is used. More... | |
| void | SetProgressAdvance (int steps=1) |
| To increase progress bar by defined step size until reach of maximum position. More... | |
| bool | Abort () |
| To check progress was canceled on work. More... | |