PointerCoordinates.hpp   PointerCoordinates.hpp 
skipping to change at line 69 skipping to change at line 69
) )
public: public:
//! @enum CoordinatesPlace //! @enum CoordinatesPlace
//! Available places of string with coordinates //! Available places of string with coordinates
enum CoordinatesPlace enum CoordinatesPlace
{ {
TopCenter, //!< The top center of the screen TopCenter, //!< The top center of the screen
TopRight, //!< In center of the top right half of the screen TopRight, //!< In center of the top right half of the screen
RightBottomCorner, //!< The right bottom corner of the screen RightBottomCorner, //!< The right bottom corner of the screen
NearMouseCursor, //!< Near mouse cursor
Custom //!< The custom position on the scre en Custom //!< The custom position on the scre en
}; };
//! @enum CoordinateSystem //! @enum CoordinateSystem
//! Available coordinate systems //! Available coordinate systems
enum CoordinateSystem enum CoordinateSystem
{ {
RaDecJ2000, RaDecJ2000,
RaDec, RaDec,
HourAngle, HourAngle,
skipping to change at line 126 skipping to change at line 127
return fontSize; return fontSize;
} }
bool getFlagEnableAtStartup(void) bool getFlagEnableAtStartup(void)
{ {
return flagEnableAtStartup; return flagEnableAtStartup;
} }
bool getFlagShowCoordinatesButton(void) bool getFlagShowCoordinatesButton(void)
{ {
return flagShowCoordinatesButton; return flagShowCoordinatesButton;
} }
bool getFlagShowCrossedLines(void)
{
return flagShowCrossedLines;
}
QPair<int, int> getCoordinatesPlace(QString text); QPair<int, int> getCoordinatesPlace(QString text);
QPair<int, int> getCustomCoordinatesPlace() QPair<int, int> getCustomCoordinatesPlace()
{ {
return customPosition; return customPosition;
} }
signals: signals:
void flagCoordinatesVisibilityChanged(bool b); void flagCoordinatesVisibilityChanged(bool b);
skipping to change at line 153 skipping to change at line 158
flagEnableAtStartup=b; flagEnableAtStartup=b;
} }
//! Set font size for message //! Set font size for message
void setFontSize(int size) void setFontSize(int size)
{ {
fontSize=size; fontSize=size;
} }
//! Display plugin button on toolbar //! Display plugin button on toolbar
void setFlagShowCoordinatesButton(bool b); void setFlagShowCoordinatesButton(bool b);
void setFlagShowCrossedLines(bool b)
{
flagShowCrossedLines=b;
}
//! Set the current place of the string with coordinates //! Set the current place of the string with coordinates
void setCurrentCoordinatesPlace(CoordinatesPlace place) void setCurrentCoordinatesPlace(CoordinatesPlace place)
{ {
currentPlace = place; currentPlace = place;
} }
//! Get the current place of the string with coordinates //! Get the current place of the string with coordinates
CoordinatesPlace getCurrentCoordinatesPlace() const CoordinatesPlace getCurrentCoordinatesPlace() const
{ {
return currentPlace; return currentPlace;
} }
skipping to change at line 202 skipping to change at line 212
// The current place for string with coordinates // The current place for string with coordinates
CoordinatesPlace currentPlace; CoordinatesPlace currentPlace;
// The current coordinate system // The current coordinate system
CoordinateSystem currentCoordinateSystem; CoordinateSystem currentCoordinateSystem;
QFont font; QFont font;
bool flagShowCoordinates; bool flagShowCoordinates;
bool flagEnableAtStartup; bool flagEnableAtStartup;
bool flagShowCoordinatesButton; bool flagShowCoordinatesButton;
bool flagShowConstellation; bool flagShowConstellation;
bool flagShowCrossedLines;
Vec3f textColor; Vec3f textColor;
Vec3d coordinatesPoint; Vec3d coordinatesPoint;
int fontSize; int fontSize;
StelButton* toolbarButton; StelButton* toolbarButton;
QPair<int, int> customPosition; QPair<int, int> customPosition;
}; };
#include <QObject> #include <QObject>
#include "StelPluginInterface.hpp" #include "StelPluginInterface.hpp"
 End of changes. 4 change blocks. 
0 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/