mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
Implemented version lists.
This commit is contained in:
parent
69040f923b
commit
2d6e785e4e
16 changed files with 955 additions and 28 deletions
|
|
@ -37,6 +37,11 @@ int Task::getProgress() const
|
|||
return progress;
|
||||
}
|
||||
|
||||
void Task::calcProgress(int parts, int whole)
|
||||
{
|
||||
setProgress((int)((((float)parts) / ((float)whole))*100)); // Not sure if C++ or LISP...
|
||||
}
|
||||
|
||||
void Task::setProgress(int progress)
|
||||
{
|
||||
this->progress = progress;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue