CompassMarks.hpp   CompassMarks.hpp 
skipping to change at line 58 skipping to change at line 58
CompassMarks(); CompassMarks();
virtual ~CompassMarks(); virtual ~CompassMarks();
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods defined in the StelModule class // Methods defined in the StelModule class
virtual void init(); virtual void init();
virtual void update(double deltaTime); virtual void update(double deltaTime);
virtual void draw(StelCore* core); virtual void draw(StelCore* core);
virtual double getCallOrder(StelModuleActionName actionName) const; virtual double getCallOrder(StelModuleActionName actionName) const;
bool getCompassMarks() const {return markFader;}
public slots:
void setCompassMarks(bool b);
//! Load the plug-in's settings from the configuration file. //! Load the plug-in's settings from the configuration file.
//! Settings are kept in the "CompassMarks" section in Stellarium's //! Settings are kept in the "CompassMarks" section in Stellarium's
//! configuration file. If no such section exists, it will load defa ult //! configuration file. If no such section exists, it will load defa ult
//! values. //! values.
//! @see saveSettings(), restoreDefaultSettings() //! @see restoreDefaultSettings()
void loadConfiguration(); void loadConfiguration();
//! Save the plug-in's settings to the configuration file.
//! @warning markColor is not saved.
//! @todo find a way to save color values without "rounding drift"
//! (this is especially important for restoring default color values
).
//! @see loadSettings(), restoreDefaultSettings()
void saveConfiguration();
void restoreDefaultConfiguration(); void restoreDefaultConfiguration();
public slots:
//! Get flag for displaying a ring of marks indicating azimuth on th
e horizon.
bool getCompassMarks() const {return markFader;}
//! Define whether a ring of azimuth marks on the horizon should be
visible.
//! @param b if true, the ring of azimuth marks is visible, else not
void setCompassMarks(bool b);
signals: signals:
void compassMarksChanged(bool); void compassMarksChanged(bool);
private slots: private slots:
void cardinalPointsChanged(bool b); void cardinalPointsChanged(bool b);
private: private:
QSettings* conf; QSettings* conf;
//! Whether the marks should be displayed at startup. //! Whether the marks should be displayed at startup.
bool displayedAtStartup; bool displayedAtStartup;
//! Font used for displaying bearing numbers. //! Font used for displaying bearing numbers.
QFont font; QFont font;
Vec3f markColor; Vec3f markColor;
 End of changes. 5 change blocks. 
13 lines changed or deleted 13 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/