StelLoadingBar.hpp   StelLoadingBar.hpp 
skipping to change at line 23 skipping to change at line 23
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#ifndef _STELLOADINGBAR_HPP_ #ifndef _STELLOADINGBAR_HPP_
#define _STELLOADINGBAR_HPP_ #define _STELLOADINGBAR_HPP_
#include "StelTextureTypes.hpp"
#include "StelProjectorType.hpp" #include "StelProjectorType.hpp"
#include "VecMath.hpp" #include "VecMath.hpp"
#include <QString> #include <QString>
#include <QFont> #include <QFont>
//! @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
skipping to change at line 60 skipping to change at line 59
//! @param extraTextPosy the y position of the extra text. //! @param extraTextPosy the y position of the extra text.
//! @param width the width to use for the texture display. //! @param width the width to use for the texture display.
//! @param height the height to use for the texture display. //! @param height the height to use for the texture display.
StelLoadingBar(const QString& splashTex, const QString& extraTextSt ring="", StelLoadingBar(const QString& splashTex, const QString& extraTextSt ring="",
float extraTextSize = 30.f, float extraTextPosx = 0.f, float extraTextPosy = 0.f, float extraTextSize = 30.f, float extraTextPosx = 0.f, float extraTextPosy = 0.f,
int width=512, int height=512); int width=512, int height=512);
virtual ~StelLoadingBar(); virtual ~StelLoadingBar();
//! Draw the splashscreen. //! Draw the splashscreen.
void draw(); void draw(class StelRenderer* renderer);
private: private:
QString message; QString message;
int splashx, splashy, width, height; int splashx, splashy, width, height;
QFont extraTextFont; QFont extraTextFont;
StelTextureSP splash; class StelTextureNew* splash;
QString extraText; QString extraText;
QString splashName;
Vec4i viewportXywh;
Vec2f extraTextPos; Vec2f extraTextPos;
class StelPainter* sPainter;
}; };
#endif // _STELLOADINGBAR_HPP_ #endif // _STELLOADINGBAR_HPP_
 End of changes. 5 change blocks. 
5 lines changed or deleted 4 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/