linux: Implement SetProgressBar API.
This commit is contained in:
parent
d8f57a0ecc
commit
d9ce3f0ca3
4 changed files with 20 additions and 1 deletions
|
@ -501,6 +501,10 @@ void NativeWindowViews::SetProgressBar(double progress) {
|
|||
static_cast<int>(progress * 100),
|
||||
progress);
|
||||
}
|
||||
#elif defined(USE_X11)
|
||||
if (unity::IsRunning()) {
|
||||
unity::SetProgressFraction(progress);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue