LandscapeMgr.hpp   LandscapeMgr.hpp 
skipping to change at line 67 skipping to change at line 67
virtual void draw(StelCore* core); virtual void draw(StelCore* core);
//! Update time-dependent state. //! Update time-dependent state.
//! Includes: //! Includes:
//! - Landscape, atmosphere and cardinal point on/off fading. //! - Landscape, atmosphere and cardinal point on/off fading.
//! - Atmophere colour calulation based on location, position of sun //! - Atmophere colour calulation based on location, position of sun
//! and moon. //! and moon.
//! - updates adaptation lumenescence lased on visible bright object s. //! - updates adaptation lumenescence lased on visible bright object s.
virtual void update(double deltaTime); virtual void update(double deltaTime);
//! Translate labels to new language settings.
virtual void updateI18n();
//! Load a color scheme from a configuration object
virtual void setStelStyle(const QString& section);
//! Get the order in which this module will draw it's objects relati ve to other modules. //! Get the order in which this module will draw it's objects relati ve to other modules.
virtual double getCallOrder(StelModuleActionName actionName) const; virtual double getCallOrder(StelModuleActionName actionName) const;
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Method specific to the landscape manager // Method specific to the landscape manager
//! Return the global landscape luminance, for being used e.g for se tting eye adaptation. //! Return the global landscape luminance, for being used e.g for se tting eye adaptation.
float getLuminance(); float getLuminance();
//! Load a landscape based on a hash of parameters mirroring the lan dscape.ini //! Load a landscape based on a hash of parameters mirroring the lan dscape.ini
//! file and make it the current landscape. //! file and make it the current landscape.
skipping to change at line 136 skipping to change at line 130
//! Get the default landscape ID. //! Get the default landscape ID.
const QString& getDefaultLandscapeID() const {return defaultLandscap eID;} const QString& getDefaultLandscapeID() const {return defaultLandscap eID;}
//! Change the default landscape to the landscape with the ID specif ied. //! Change the default landscape to the landscape with the ID specif ied.
//! @param id the ID of the landscape to use by default //! @param id the ID of the landscape to use by default
//! @return false if the new landscape could not be set (e.g. no lan dscape of that ID was found). True on success. //! @return false if the new landscape could not be set (e.g. no lan dscape of that ID was found). True on success.
bool setDefaultLandscapeID(const QString& id); bool setDefaultLandscapeID(const QString& id);
//! Return a pseudo HTML formated string with all informations on th e current landscape //! Return a pseudo HTML formated string with all informations on th e current landscape
QString getCurrentLandscapeHtmlDescription() const; QString getCurrentLandscapeHtmlDescription() const;
//! Return a pseudo HTML formated string with information from descr
iption or ini file
QString getDescription() const;
//! Get flag for displaying Landscape. //! Get flag for displaying Landscape.
bool getFlagLandscape() const; bool getFlagLandscape() const;
//! Set flag for displaying Landscape. //! Set flag for displaying Landscape.
void setFlagLandscape(bool b); void setFlagLandscape(bool b);
//! Get flag for displaying Fog. //! Get flag for displaying Fog.
bool getFlagFog() const; bool getFlagFog() const;
//! Set flag for displaying Fog. //! Set flag for displaying Fog.
void setFlagFog(bool b); void setFlagFog(bool b);
skipping to change at line 282 skipping to change at line 279
//! with the same name or identifier as an already installed one. //! with the same name or identifier as an already installed one.
//! (A way of moving the need for translatable error messages to the GUI.) //! (A way of moving the need for translatable error messages to the GUI.)
//! \param nameOrID the name or the identifier of the landscape //! \param nameOrID the name or the identifier of the landscape
void errorNotUnique(QString nameOrID); void errorNotUnique(QString nameOrID);
//! Emitted when removeLandscape() is unable to remove all the files of //! Emitted when removeLandscape() is unable to remove all the files of
//! a landscape. //! a landscape.
//! (A way of moving the need for translatable error messages to the GUI.) //! (A way of moving the need for translatable error messages to the GUI.)
//! \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:
//! Load a color scheme from a configuration object
void setStelStyle(const QString& section);
//! Translate labels to new language settings.
void updateI18n();
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);
 End of changes. 3 change blocks. 
6 lines changed or deleted 11 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/