forked from mirror/openmw-tes3mp
LoadingScreen: remove indicateProgress, not used
This commit is contained in:
parent
375caf037d
commit
ccbba5e926
3 changed files with 0 additions and 17 deletions
|
@ -224,17 +224,6 @@ namespace MWGui
|
|||
draw();
|
||||
}
|
||||
|
||||
void LoadingScreen::indicateProgress()
|
||||
{
|
||||
float time = (static_cast<int>(mTimer.time_m()) % 2001) / 1000.f;
|
||||
if (time > 1)
|
||||
time = (time-2)*-1;
|
||||
|
||||
mProgressBar->setTrackSize(50);
|
||||
mProgressBar->setScrollPosition(static_cast<size_t>(time * (mProgressBar->getScrollRange() - 1)));
|
||||
draw();
|
||||
}
|
||||
|
||||
bool LoadingScreen::needToDrawLoadingScreen()
|
||||
{
|
||||
if ( mTimer.time_m() <= mLastRenderTime + (1.0/mTargetFrameRate) * 1000.0)
|
||||
|
|
|
@ -35,9 +35,6 @@ namespace MWGui
|
|||
|
||||
virtual void setLabel (const std::string& label);
|
||||
|
||||
/// Indicate that some progress has been made, without specifying how much
|
||||
virtual void indicateProgress ();
|
||||
|
||||
virtual void loadingOn();
|
||||
virtual void loadingOff();
|
||||
|
||||
|
|
|
@ -12,9 +12,6 @@ namespace Loading
|
|||
virtual void loadingOn() {}
|
||||
virtual void loadingOff() {}
|
||||
|
||||
/// Indicate that some progress has been made, without specifying how much
|
||||
virtual void indicateProgress () {}
|
||||
|
||||
virtual void setProgressRange (size_t range) {}
|
||||
virtual void setProgress (size_t value) {}
|
||||
virtual void increaseProgress (size_t increase = 1) {}
|
||||
|
|
Loading…
Reference in a new issue