Constellation.hpp   Constellation.hpp 
skipping to change at line 66 skipping to change at line 66
{ {
if (flags&Name) return getNameI18n() + "(" + getShortName() + ")"; if (flags&Name) return getNameI18n() + "(" + getShortName() + ")";
else return ""; else return "";
} }
//! Get the module/object type string. //! Get the module/object type string.
//! @return "Constellation" //! @return "Constellation"
virtual QString getType() const {return "Constellation";} virtual QString getType() const {return "Constellation";}
//! observer centered J2000 coordinates. //! observer centered J2000 coordinates.
virtual Vec3d getJ2000EquatorialPos(const StelNavigator*) const {ret urn XYZname;} virtual Vec3d getJ2000EquatorialPos(const StelCore*) const {return X YZname;}
virtual double getAngularSize(const StelCore*) const {Q_ASSERT(0); r eturn 0;} // TODO virtual double getAngularSize(const StelCore*) const {Q_ASSERT(0); r eturn 0;} // TODO
//! @param record string containing the following whitespace //! @param record string containing the following whitespace
//! separated fields: abbreviation - a three character abbreviation //! separated fields: abbreviation - a three character abbreviation
//! for the constellation, a number of lines, and a list of Hipparco s //! for the constellation, a number of lines, and a list of Hipparco s
//! catalogue numbers which, when connected form the lines of the //! catalogue numbers which, when connected form the lines of the
//! constellation. //! constellation.
//! @param starMgr a pointer to the StarManager object. //! @param starMgr a pointer to the StarManager object.
//! @return false if can't parse record, else true. //! @return false if can't parse record, else true.
skipping to change at line 108 skipping to change at line 108
//! Get the translated name for the Constellation. //! Get the translated name for the Constellation.
QString getNameI18n() const {return nameI18;} QString getNameI18n() const {return nameI18;}
//! Get the English name for the Constellation (returns the abbrevia tion). //! Get the English name for the Constellation (returns the abbrevia tion).
QString getEnglishName() const {return abbreviation;} QString getEnglishName() const {return abbreviation;}
//! Get the short name for the Constellation (returns the abbreviati on). //! Get the short name for the Constellation (returns the abbreviati on).
QString getShortName() const {return abbreviation;} QString getShortName() const {return abbreviation;}
//! Draw the lines for the Constellation. //! Draw the lines for the Constellation.
//! This method uses the coords of the stars (optimized for use thru //! This method uses the coords of the stars (optimized for use thru
//! the class ConstellationMgr only). //! the class ConstellationMgr only).
void drawOptim(StelPainter& sPainter, const StelNavigator* nav, cons t SphericalCap& viewportHalfspace) const; void drawOptim(StelPainter& sPainter, const StelCore* core, const Sp hericalCap& viewportHalfspace) const;
//! Draw the art texture, optimized function to be called thru a con stellation manager only. //! Draw the art texture, optimized function to be called thru a con stellation manager only.
void drawArtOptim(StelPainter& sPainter, const SphericalRegion& regi on) const; void drawArtOptim(StelPainter& sPainter, const SphericalRegion& regi on) const;
//! Update fade levels according to time since various events. //! Update fade levels according to time since various events.
void update(int deltaTime); void update(int deltaTime);
//! Turn on and off Constellation line rendering. //! Turn on and off Constellation line rendering.
//! @param b new state for line drawing. //! @param b new state for line drawing.
void setFlagLines(bool b) {lineFader=b;} void setFlagLines(bool b) {lineFader=b;}
//! Turn on and off Constellation boundary rendering. //! Turn on and off Constellation boundary rendering.
//! @param b new state for boundary drawing. //! @param b new state for boundary drawing.
void setFlagBoundaries(bool b) {boundaryFader=b;} void setFlagBoundaries(bool b) {boundaryFader=b;}
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 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/