StarMgr.hpp   StarMgr.hpp 
skipping to change at line 112 skipping to change at line 112
//! Return the matching star if exists or NULL //! Return the matching star if exists or NULL
//! @param name The case in-sensistive standard program planet name //! @param name The case in-sensistive standard program planet name
virtual StelObjectP searchByName(const QString& name) const; virtual StelObjectP searchByName(const QString& name) const;
//! Find and return the list of at most maxNbItem objects auto-compl eting the passed object I18n name. //! Find and return the list of at most maxNbItem objects auto-compl eting the passed object I18n name.
//! @param objPrefix the case insensitive first letters of the searc hed object //! @param objPrefix the case insensitive first letters of the searc hed object
//! @param maxNbItem the maximum number of returned object names //! @param maxNbItem the maximum number of returned object names
//! @return a list of matching object name by order of relevance, or an empty list if nothing match //! @return a list of matching object name by order of relevance, or an empty list if nothing match
virtual QStringList listMatchingObjectsI18n(const QString& objPrefix , int maxNbItem=5) const; virtual QStringList listMatchingObjectsI18n(const QString& objPrefix , int maxNbItem=5) const;
//! Find and return the list of at most maxNbItem objects auto-compl
eting the passed object English name.
//! @param objPrefix the case insensitive first letters of the searc
hed object
//! @param maxNbItem the maximum number of returned object names
//! @return a list of matching object name by order of relevance, or
an empty list if nothing match
virtual QStringList listMatchingObjects(const QString& objPrefix, in
t maxNbItem=5) const;
// empty, as there's too much stars for displaying at once // empty, as there's too much stars for displaying at once
virtual QStringList listAllObjects(bool inEnglish) const { Q_UNUSED( inEnglish) return QStringList(); } virtual QStringList listAllObjects(bool inEnglish) const { Q_UNUSED( inEnglish) return QStringList(); }
virtual QString getName() const { return "Stars"; } virtual QString getName() const { return "Stars"; }
public slots: public slots:
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods callable from script and GUI // Methods callable from script and GUI
//! Set the color used to label bright stars. //! Set the color used to label bright stars.
void setLabelColor(const Vec3f& c) {labelColor = c;} void setLabelColor(const Vec3f& c) {labelColor = c;}
//! Get the current color used to label bright stars. //! Get the current color used to label bright stars.
skipping to change at line 242 skipping to change at line 247
void initTriangle(int lev, int index, void initTriangle(int lev, int index,
const Vec3f &c0, const Vec3f &c0,
const Vec3f &c1, const Vec3f &c1,
const Vec3f &c2); const Vec3f &c2);
BigStarCatalogExtension::HipIndexStruct *hipIndex; // array of hipar cos stars BigStarCatalogExtension::HipIndexStruct *hipIndex; // array of hipar cos stars
static QHash<int, QString> commonNamesMap; static QHash<int, QString> commonNamesMap;
static QHash<int, QString> commonNamesMapI18n; static QHash<int, QString> commonNamesMapI18n;
static QMap<QString, int> commonNamesIndexI18n; static QMap<QString, int> commonNamesIndexI18n;
static QMap<QString, int> commonNamesIndex;
static QHash<int, QString> sciNamesMapI18n; static QHash<int, QString> sciNamesMapI18n;
static QMap<QString, int> sciNamesIndexI18n; static QMap<QString, int> sciNamesIndexI18n;
QFont starFont; QFont starFont;
static bool flagSciNames; static bool flagSciNames;
Vec3f labelColor; Vec3f labelColor;
class StelTextureNew* texPointer; // The selection poi nter texture class StelTextureNew* texPointer; // The selection poi nter texture
 End of changes. 2 change blocks. 
0 lines changed or deleted 10 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/