Observability.hpp   Observability.hpp 
skipping to change at line 94 skipping to change at line 94
//! get current Sun altitude at twilight: //! get current Sun altitude at twilight:
int getSunAltitude(void); int getSunAltitude(void);
//! get current Horizon altitude: //! get current Horizon altitude:
int getHorizAltitude(void); int getHorizAltitude(void);
public slots: public slots:
//! Set whether observability will execute or not: //! Set whether observability will execute or not:
void enableObservability(bool b); void enableObservability(bool b);
private slots:
void updateMessageText();
private: private:
//! Stuff for the configuration GUI: //! Stuff for the configuration GUI:
ObservabilityDialog* configDialog; ObservabilityDialog* configDialog;
QByteArray normalStyleSheet; QByteArray normalStyleSheet;
QByteArray nightStyleSheet; QByteArray nightStyleSheet;
void setDateFormat(bool b) { dmyFormat=b; }
bool getDateFormat(void) { return dmyFormat; }
//! Computes the Hour Angle (culmination=0h) in absolute value (from 0h to 12h). //! Computes the Hour Angle (culmination=0h) in absolute value (from 0h to 12h).
//! @param latitude latitude of the observer (in radians). //! @param latitude latitude of the observer (in radians).
//! @param elevation elevation angle of the object (horizon=0) in radians. //! @param elevation elevation angle of the object (horizon=0) in radians.
//! @param declination declination of the object in radians. //! @param declination declination of the object in radians.
virtual double HourAngle(double latitude,double elevation,double dec lination); virtual double HourAngle(double latitude,double elevation,double dec lination);
//! Computes the Hour Angle for a given Right Ascension and Sidereal Time. //! Computes the Hour Angle for a given Right Ascension and Sidereal Time.
//! @param RA right ascension (hours). //! @param RA right ascension (hours).
//! @param ST sidereal time (degrees). //! @param ST sidereal time (degrees).
virtual double HourAngle2(double RA, double ST); virtual double HourAngle2(double RA, double ST);
skipping to change at line 237 skipping to change at line 243
//! Useful auxiliary strings, to help checking changes in source/observer. Also to store results that must survive between iterations. //! Useful auxiliary strings, to help checking changes in source/observer. Also to store results that must survive between iterations.
QString selName, bestNight, ObsRange, objname, AcroCos; QString selName, bestNight, ObsRange, objname, AcroCos;
//! Strings to save ephemeris Times: //! Strings to save ephemeris Times:
QString RiseTime, SetTime, CulmTime; QString RiseTime, SetTime, CulmTime;
//! Just the names of the months. //! Just the names of the months.
QString months[12]; QString months[12];
//! Using for storage date format [i18n]
bool dmyFormat;
//! Equatorial and local coordinates of currently-selected source. //! Equatorial and local coordinates of currently-selected source.
Vec3d EquPos, LocPos; Vec3d EquPos, LocPos;
//! Some booleans to check the kind of source selected and the kind of outp ut to produce. //! Some booleans to check the kind of source selected and the kind of outp ut to produce.
bool isStar,isMoon,isSun,isScreen, raised, configChanged, souChanged ; bool isStar,isMoon,isSun,isScreen, raised, configChanged, souChanged ;
int LastObject; int LastObject;
//! Some booleans to select the kind of output. //! Some booleans to select the kind of output.
bool show_AcroCos, show_Good_Nights, show_Best_Night, show_Today, sh ow_FullMoon; //, show_Crescent, show_SuperMoon; bool show_AcroCos, show_Good_Nights, show_Best_Night, show_Today, sh ow_FullMoon; //, show_Crescent, show_SuperMoon;
//! Parameters for the graphics (i.e., font, icons, etc.): //! Parameters for the graphics (i.e., font, icons, etc.):
QFont font; QFont font;
Vec3f fontColor; Vec3f fontColor;
bool flagShowObservability; bool flagShowObservability;
int fontSize; int fontSize;
QPixmap* OnIcon; QPixmap* OnIcon;
QPixmap* OffIcon; QPixmap* OffIcon;
QPixmap* GlowIcon; QPixmap* GlowIcon;
StelButton* toolbarButton; StelButton* toolbarButton;
QString msgSetsAt, msgRoseAt, msgSetAt, msgRisesAt, msgCircumpolar,
msgNoRise, msgCulminatesAt, msgCulminatedAt, msgH, msgM, msgS;
QString msgSrcNotObs, msgNoACRise, msgGreatElong, msgLargSSep, msgAt
Deg, msgNone, msgAcroRise, msgNoAcroRise, msgCosmRise, msgNoCosmRise;
QString msgWholeYear, msgNotObs, msgAboveHoriz, msgToday, msgThisYea
r, msgPrevFullMoon, msgNextFullMoon;
}; };
#include "fixx11h.h" #include "fixx11h.h"
#include <QObject> #include <QObject>
#include "StelPluginInterface.hpp" #include "StelPluginInterface.hpp"
class ObservabilityStelPluginInterface : public QObject, public StelPluginI nterface class ObservabilityStelPluginInterface : public QObject, public StelPluginI nterface
{ {
Q_OBJECT Q_OBJECT
Q_INTERFACES(StelPluginInterface) Q_INTERFACES(StelPluginInterface)
 End of changes. 4 change blocks. 
0 lines changed or deleted 16 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/