~ubuntu-branches/ubuntu/precise/stellarium/precise

« back to all changes in this revision

Viewing changes to src/modules/ConstellationMgr.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Howard
  • Date: 2010-02-15 20:48:39 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100215204839-u3qgbv60rho997yk
Tags: 0.10.3-0ubuntu1
* New upstream release.
  - fixes intel rendering bug (LP: #480553)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <vector>
24
24
#include <QString>
25
25
#include <QStringList>
 
26
#include <QFont>
26
27
 
27
28
#include "StelObjectType.hpp"
28
29
#include "StelObjectModule.hpp"
33
34
class Constellation;
34
35
class StelProjector;
35
36
class StelNavigator;
36
 
class StelFont;
37
37
class StelPainter;
38
38
 
39
39
//! @class ConstellationMgr
189
189
        //! @param conCatFile the path to the file which contains the constellation boundary data.
190
190
        bool loadBoundaries(const QString& conCatFile);
191
191
        //! Draw the constellation lines at the epoch given by the StelNavigator.
192
 
        void drawLines(const StelPainter& sPainter, const StelNavigator* nav) const;
 
192
        void drawLines(StelPainter& sPainter, const StelNavigator* nav) const;
193
193
        //! Draw the constellation art.
194
 
        void drawArt(const StelProjectorP& prj, const StelNavigator * nav) const;
 
194
        void drawArt(StelPainter& sPainter) const;
195
195
        //! Draw the constellation name labels.
196
 
        void drawNames(const StelPainter& sPainter) const;
 
196
        void drawNames(StelPainter& sPainter) const;
197
197
        //! Draw the constellation boundaries.
198
 
        void drawBoundaries(const StelProjectorP& prj) const;   
 
198
        void drawBoundaries(StelPainter& sPainter) const;
199
199
        //! Handle single and multi-constellation selections.
200
200
        void setSelectedConst(Constellation* c);
201
201
        //! Handle unselecting a single constellation.
218
218
        Constellation* isStarIn(const StelObject *s) const;
219
219
        Constellation* findFromAbbreviation(const QString& abbreviation) const;         
220
220
        std::vector<Constellation*> asterisms;
221
 
        double fontSize;
222
 
        StelFont* asterFont;
 
221
        QFont asterFont;
223
222
        StarMgr* hipStarMgr;
224
223
 
225
224
        bool isolateSelected;