1 #ifndef MWGUI_LOADINGSCREEN_H
2 #define MWGUI_LOADINGSCREEN_H
28 class BackgroundImage;
37 virtual void setLabel (
const std::string& label,
bool important);
double mTargetFrameRate
Definition: loadingscreen.hpp:53
virtual void setLabel(const std::string &label, bool important)
Overridden from Loading::Listener, see the Loading::Listener documentation for usage details...
Definition: loadingscreen.cpp:86
virtual void loadingOn()
Definition: loadingscreen.cpp:126
void findSplashScreens()
Definition: loadingscreen.cpp:62
MyGUI::Widget * mLoadingBox
Definition: loadingscreen.hpp:64
osg::ref_ptr< osgViewer::Viewer > mViewer
Definition: loadingscreen.hpp:51
virtual void setProgressRange(size_t range)
Set the total range of progress (e.g. the number of objects to load).
Definition: loadingscreen.cpp:215
osg::Timer mTimer
Definition: loadingscreen.hpp:57
virtual void setProgress(size_t value)
Set current progress. Valid range is [0, progressRange)
Definition: loadingscreen.cpp:223
std::auto_ptr< MyGUI::ITexture > mGuiTexture
Definition: loadingscreen.hpp:75
Definition: loadinglistener.hpp:8
const VFS::Manager * mVFS
Definition: loadingscreen.hpp:50
bool mImportantLabel
Definition: loadingscreen.hpp:60
Definition: loadingscreen.hpp:30
void changeWallpaper()
Definition: loadingscreen.cpp:202
MyGUI::TextBox * mLoadingText
Definition: loadingscreen.hpp:66
std::vector< std::string > mSplashScreens
Definition: loadingscreen.hpp:70
virtual ~LoadingScreen()
Definition: loadingscreen.cpp:58
double mLastWallpaperChangeTime
Definition: loadingscreen.hpp:55
MyGUI::ScrollBar * mProgressBar
Definition: loadingscreen.hpp:67
virtual void loadingOff()
Definition: loadingscreen.cpp:180
size_t mProgress
Definition: loadingscreen.hpp:62
Definition: windowbase.hpp:16
virtual void increaseProgress(size_t increase=1)
Increase current progress, default by 1.
Definition: loadingscreen.cpp:235
BackgroundImage * mBackgroundImage
Definition: loadingscreen.hpp:68
The main class responsible for loading files from a virtual file system.
Definition: manager.hpp:20
double mLoadingOnTime
Definition: loadingscreen.hpp:58
void draw()
Definition: loadingscreen.cpp:270
bool needToDrawLoadingScreen()
Definition: loadingscreen.cpp:245
A variant of MyGUI::ImageBox with aspect ratio correction using black bars.
Definition: backgroundimage.hpp:12
osg::ref_ptr< osg::Texture2D > mTexture
Definition: loadingscreen.hpp:74
LoadingScreen(const VFS::Manager *vfs, osgViewer::Viewer *viewer)
Definition: loadingscreen.cpp:31
double mLastRenderTime
Definition: loadingscreen.hpp:56
virtual void setVisible(bool visible)
Sets the visibility of the window.
Definition: loadingscreen.cpp:98