StelLoadingBar.hpp   StelLoadingBar.hpp 
skipping to change at line 28 skipping to change at line 28
*/ */
#ifndef _STELLOADINGBAR_HPP_ #ifndef _STELLOADINGBAR_HPP_
#define _STELLOADINGBAR_HPP_ #define _STELLOADINGBAR_HPP_
#include "StelTextureTypes.hpp" #include "StelTextureTypes.hpp"
#include "StelProjectorType.hpp" #include "StelProjectorType.hpp"
#include "VecMath.hpp" #include "VecMath.hpp"
#include <QString> #include <QString>
#include <QFont>
class StelFont;
//! @class StelLoadingBar //! @class StelLoadingBar
//! This class is used to display loading bar. //! This class is used to display loading bar.
//! A StelLoadingBar has a progress bar whose value can be set after the cr eation //! A StelLoadingBar has a progress bar whose value can be set after the cr eation
//! of the StelLoadingBar, and a text display area, whose contents may also be //! of the StelLoadingBar, and a text display area, whose contents may also be
//! modified after the creation of the StelLoadingBar. //! modified after the creation of the StelLoadingBar.
//! It can also have an image which is set at object creation time, and som e //! It can also have an image which is set at object creation time, and som e
//! static text (called extra text, which is set at object creation time. //! static text (called extra text, which is set at object creation time.
//! Stellarium's splash screen, visible when the program is first started, is //! Stellarium's splash screen, visible when the program is first started, is
//! a StelLoadingBar. The image is the logo for the project, the extra tex t is //! a StelLoadingBar. The image is the logo for the project, the extra tex t is
skipping to change at line 70 skipping to change at line 69
void SetMessage(QString m) {message=m;} void SetMessage(QString m) {message=m;}
//! Draw the StelLoadingBar, setting the value. //! Draw the StelLoadingBar, setting the value.
//! @param val the value which the progress bar should display. This is a //! @param val the value which the progress bar should display. This is a
//! float which should take a value between 0.0 and 1.0. //! float which should take a value between 0.0 and 1.0.
void Draw(float val); void Draw(float val);
private: private:
QString message; QString message;
int splashx, splashy, barx, bary, width, height, barwidth, barheight ; int splashx, splashy, barx, bary, width, height, barwidth, barheight ;
StelFont& barfont; QFont barfont;
StelFont& extraTextFont; QFont extraTextFont;
StelTextureSP splash; StelTextureSP splash;
QString extraText; QString extraText;
Vec2f extraTextPos; Vec2f extraTextPos;
double timeCounter; double timeCounter;
class StelPainter* sPainter;
}; };
#endif // _STELLOADINGBAR_HPP_ #endif // _STELLOADINGBAR_HPP_
 End of changes. 3 change blocks. 
4 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/