LandscapeMgr.hpp   LandscapeMgr.hpp 
skipping to change at line 308 skipping to change at line 308
//! \param path the path to the landscape's directory //! \param path the path to the landscape's directory
void errorRemoveManually(QString path); void errorRemoveManually(QString path);
private slots: private slots:
//! Load a color scheme from a configuration object //! Load a color scheme from a configuration object
void setStelStyle(const QString& section); void setStelStyle(const QString& section);
//! Translate labels to new language settings. //! Translate labels to new language settings.
void updateI18n(); void updateI18n();
//! Return the value of the initial brightness of landscape
float getInitialLandscapeBrightness() const {return initialLandscape
Brightness;}
//! Set the value of the initial brightness of landscape.
void setInitialLandscapeBrightness(float b) {initialLandscapeBrightn
ess=b;}
private: private:
//! Get light pollution luminance level. //! Get light pollution luminance level.
float getAtmosphereLightPollutionLuminance() const; float getAtmosphereLightPollutionLuminance() const;
//! Set light pollution luminance level. //! Set light pollution luminance level.
void setAtmosphereLightPollutionLuminance(float f); void setAtmosphereLightPollutionLuminance(float f);
//! For a given landscape name, return the landscape ID. //! For a given landscape name, return the landscape ID.
//! This takes a name of the landscape, as described in the landscap e:name item in the //! This takes a name of the landscape, as described in the landscap e:name item in the
//! landscape.ini, and returns the landscape ID which corresponds to that name. //! landscape.ini, and returns the landscape ID which corresponds to that name.
QString nameToID(const QString& name); QString nameToID(const QString& name);
skipping to change at line 347 skipping to change at line 352
// The ID of the default landscape // The ID of the default landscape
QString defaultLandscapeID; QString defaultLandscapeID;
//! List of the IDs of the landscapes packaged by default with Stell arium. //! List of the IDs of the landscapes packaged by default with Stell arium.
//! (So that they can't be removed.) //! (So that they can't be removed.)
//! It is populated in LandscapeMgr() and has to be updated //! It is populated in LandscapeMgr() and has to be updated
//! manually on changes. //! manually on changes.
//! @todo Find a way to update it automatically. //! @todo Find a way to update it automatically.
QStringList packagedLandscapeIDs; QStringList packagedLandscapeIDs;
float initialLandscapeBrightness;
}; };
#endif // _LANDSCAPEMGR_HPP_ #endif // _LANDSCAPEMGR_HPP_
 End of changes. 2 change blocks. 
0 lines changed or deleted 9 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/