OpenMW
|
#include <loadingscreen.hpp>
Public Member Functions | |
virtual void | setLabel (const std::string &label) |
virtual void | indicateProgress () |
Indicate that some progress has been made, without specifying how much. | |
virtual void | loadingOn () |
virtual void | loadingOff () |
virtual void | setProgressRange (size_t range) |
virtual void | setProgress (size_t value) |
virtual void | increaseProgress (size_t increase) |
virtual void | removeWallpaper () |
Indicate the scene is now ready to be shown. | |
LoadingScreen (Ogre::SceneManager *sceneMgr, Ogre::RenderWindow *rw) | |
virtual | ~LoadingScreen () |
void | setLoadingProgress (const std::string &stage, int depth, int current, int total) |
void | loadingDone () |
void | onResChange (int w, int h) |
void | updateWindow (Ogre::RenderWindow *rw) |
Private Member Functions | |
void | changeWallpaper () |
void | draw () |
Private Attributes | |
bool | mFirstLoad |
Ogre::SceneManager * | mSceneMgr |
Ogre::RenderWindow * | mWindow |
unsigned long | mLastWallpaperChangeTime |
unsigned long | mLastRenderTime |
Ogre::Timer | mTimer |
size_t | mProgress |
MyGUI::TextBox * | mLoadingText |
MyGUI::ScrollBar * | mProgressBar |
MyGUI::ImageBox * | mBackgroundImage |
Ogre::Rectangle2D * | mRectangle |
Ogre::MaterialPtr | mBackgroundMaterial |
Ogre::StringVector | mResources |
bool | mVSyncWasEnabled |
MWGui::LoadingScreen::LoadingScreen | ( | Ogre::SceneManager * | sceneMgr, |
Ogre::RenderWindow * | rw | ||
) |
MWGui::LoadingScreen::~LoadingScreen | ( | ) | [virtual] |
void MWGui::LoadingScreen::changeWallpaper | ( | ) | [private] |
void MWGui::LoadingScreen::draw | ( | ) | [private] |
void MWGui::LoadingScreen::increaseProgress | ( | size_t | increase | ) | [virtual] |
Implements Loading::Listener.
void MWGui::LoadingScreen::indicateProgress | ( | ) | [virtual] |
Indicate that some progress has been made, without specifying how much.
Implements Loading::Listener.
void MWGui::LoadingScreen::loadingDone | ( | ) |
void MWGui::LoadingScreen::loadingOff | ( | ) | [virtual] |
Implements Loading::Listener.
void MWGui::LoadingScreen::loadingOn | ( | ) | [virtual] |
Implements Loading::Listener.
void MWGui::LoadingScreen::onResChange | ( | int | w, |
int | h | ||
) |
void MWGui::LoadingScreen::removeWallpaper | ( | ) | [virtual] |
Indicate the scene is now ready to be shown.
Implements Loading::Listener.
void MWGui::LoadingScreen::setLabel | ( | const std::string & | label | ) | [virtual] |
Implements Loading::Listener.
void MWGui::LoadingScreen::setLoadingProgress | ( | const std::string & | stage, |
int | depth, | ||
int | current, | ||
int | total | ||
) |
void MWGui::LoadingScreen::setProgress | ( | size_t | value | ) | [virtual] |
Implements Loading::Listener.
void MWGui::LoadingScreen::setProgressRange | ( | size_t | range | ) | [virtual] |
Implements Loading::Listener.
void MWGui::LoadingScreen::updateWindow | ( | Ogre::RenderWindow * | rw | ) | [inline] |
MyGUI::ImageBox* MWGui::LoadingScreen::mBackgroundImage [private] |
Ogre::MaterialPtr MWGui::LoadingScreen::mBackgroundMaterial [private] |
bool MWGui::LoadingScreen::mFirstLoad [private] |
unsigned long MWGui::LoadingScreen::mLastRenderTime [private] |
unsigned long MWGui::LoadingScreen::mLastWallpaperChangeTime [private] |
MyGUI::TextBox* MWGui::LoadingScreen::mLoadingText [private] |
size_t MWGui::LoadingScreen::mProgress [private] |
MyGUI::ScrollBar* MWGui::LoadingScreen::mProgressBar [private] |
Ogre::Rectangle2D* MWGui::LoadingScreen::mRectangle [private] |
Ogre::StringVector MWGui::LoadingScreen::mResources [private] |
Ogre::SceneManager* MWGui::LoadingScreen::mSceneMgr [private] |
Ogre::Timer MWGui::LoadingScreen::mTimer [private] |
bool MWGui::LoadingScreen::mVSyncWasEnabled [private] |
Ogre::RenderWindow* MWGui::LoadingScreen::mWindow [private] |