Stellarium 0.12.3
Main Page
Namespaces
Classes
Coding Style
Scripting
Plugins
Renderer
File Structure
File List
File Members
core
StelLoadingBar.hpp
1
/*
2
* Stellarium
3
* Copyright (C) 2005 Fabien Chereau
4
*
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License
7
* as published by the Free Software Foundation; either version 2
8
* of the License, or (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
18
*/
19
20
#ifndef _STELLOADINGBAR_HPP_
21
#define _STELLOADINGBAR_HPP_
22
23
#include "
StelProjectorType.hpp
"
24
#include "VecMath.hpp"
25
26
#include <QString>
27
#include <QFont>
28
39
class
StelLoadingBar
40
{
41
public
:
52
StelLoadingBar
(
const
QString& splashTex,
const
QString& extraTextString=
""
,
53
float
extraTextSize = 30.f,
float
extraTextPosx = 0.f,
float
extraTextPosy = 0.f,
54
int
width=512,
int
height=512);
55
56
virtual
~
StelLoadingBar
();
57
59
void
draw
(
class
StelRenderer
* renderer);
60
61
private
:
62
QString message;
63
int
splashx, splashy, width, height;
64
QFont extraTextFont;
65
class
StelTextureNew
* splash;
66
QString extraText;
67
QString splashName;
68
Vec4i
viewportXywh;
69
Vec2f
extraTextPos;
70
};
71
72
#endif // _STELLOADINGBAR_HPP_
Generated on Sat Aug 10 2013 17:12:44 for Stellarium by
1.8.3.1