19 #ifndef COMPASSMARKS_HPP_ 20 #define COMPASSMARKS_HPP_ 22 #include "VecMath.hpp" 23 #include "StelModule.hpp" 24 #include "StelFader.hpp" 54 virtual void update(
double deltaTime);
65 void restoreDefaultConfiguration();
76 void compassMarksChanged(
bool);
79 void cardinalPointsChanged(
bool b);
84 bool displayedAtStartup;
90 bool cardinalPointsState;
95 #include "StelPluginInterface.hpp" 101 Q_PLUGIN_METADATA(IID StelPluginInterface_iid)
void loadConfiguration()
Load the plug-in's settings from the configuration file.
Define the interface to implement when creating a plugin.
Implementation of StelFader which implements a linear transition.
virtual double getCallOrder(StelModuleActionName actionName) const
Return the value defining the order of call for the given action For example if stars.callOrder[ActionDraw] == 10 and constellation.callOrder[ActionDraw] == 11, the stars module will be drawn before the constellations.
Main class for Stellarium core processing.
virtual void draw(StelCore *core)
Execute all the drawing functions for this module.
bool getCompassMarks() const
Get flag for displaying a ring of marks indicating azimuth on the horizon.
StelModuleActionName
Define the possible action for which an order is defined.
Main class of the Compass Marks plug-in.
This class is used by Qt to manage a plug-in interface.
virtual void init()
Initialize itself.
void setCompassMarks(bool b)
Define whether a ring of azimuth marks on the horizon should be visible.
virtual void update(double deltaTime)
Update the module with respect to the time.
This is the common base class for all the main components of stellarium.
Contains information about a Stellarium plugin.