AngleMeasure.hpp   AngleMeasure.hpp 
skipping to change at line 16 skipping to change at line 16
* as published by the Free Software Foundation; either version 2 * as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version. * of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#ifndef ANGLEMEASURE_HPP_ #ifndef ANGLEMEASURE_HPP_
#define ANGLEMEASURE_HPP_ #define ANGLEMEASURE_HPP_
#include <QFont> #include <QFont>
#include "VecMath.hpp" #include "VecMath.hpp"
#include "StelModule.hpp" #include "StelModule.hpp"
#include "StelFader.hpp" #include "StelFader.hpp"
skipping to change at line 53 skipping to change at line 53
virtual void draw(StelCore* core); virtual void draw(StelCore* core);
virtual double getCallOrder(StelModuleActionName actionName) const; virtual double getCallOrder(StelModuleActionName actionName) const;
virtual void handleKeys(class QKeyEvent* event); virtual void handleKeys(class QKeyEvent* event);
virtual void handleMouseClicks(class QMouseEvent* event); virtual void handleMouseClicks(class QMouseEvent* event);
virtual bool handleMouseMoves(int x, int y, Qt::MouseButtons b); virtual bool handleMouseMoves(int x, int y, Qt::MouseButtons b);
public slots: public slots:
void enableAngleMeasure(bool b); void enableAngleMeasure(bool b);
private slots: private slots:
void updateMessageText();
void clearMessage(); void clearMessage();
private: private:
QFont font; QFont font;
bool flagShowAngleMeasure; bool flagShowAngleMeasure;
LinearFader lineVisible; LinearFader lineVisible;
LinearFader messageFader; LinearFader messageFader;
QTimer* messageTimer; QTimer* messageTimer;
QString messageEnabled;
QString messageLeftButton;
QString messageRightButton;
bool dragging; bool dragging;
Vec3d startPoint; Vec3d startPoint;
Vec3d endPoint; Vec3d endPoint;
Vec3d perp1StartPoint; Vec3d perp1StartPoint;
Vec3d perp1EndPoint; Vec3d perp1EndPoint;
Vec3d perp2StartPoint; Vec3d perp2StartPoint;
Vec3d perp2EndPoint; Vec3d perp2EndPoint;
Vec3f textColor; Vec3f textColor;
Vec3f lineColor; Vec3f lineColor;
QString angleText; QString angleText;
bool flagUseDmsFormat; bool flagUseDmsFormat;
StelButton* toolbarButton; StelButton* toolbarButton;
void calculateEnds(void); void calculateEnds();
}; };
#include "fixx11h.h" #include "fixx11h.h"
#include <QObject> #include <QObject>
#include "StelPluginInterface.hpp" #include "StelPluginInterface.hpp"
//! This class is used by Qt to manage a plug-in interface //! This class is used by Qt to manage a plug-in interface
class AngleMeasureStelPluginInterface : public QObject, public StelPluginIn terface class AngleMeasureStelPluginInterface : public QObject, public StelPluginIn terface
{ {
Q_OBJECT Q_OBJECT
 End of changes. 4 change blocks. 
2 lines changed or deleted 6 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/