StelMovementMgr.hpp   StelMovementMgr.hpp 
skipping to change at line 65 skipping to change at line 65
//! Implement required draw function. Does nothing. //! Implement required draw function. Does nothing.
virtual void draw(StelCore*) {;} virtual void draw(StelCore*) {;}
//! Handle keyboard events. //! Handle keyboard events.
virtual void handleKeys(QKeyEvent* event); virtual void handleKeys(QKeyEvent* event);
//! Handle mouse movement events. //! Handle mouse movement events.
virtual bool handleMouseMoves(int x, int y, Qt::MouseButtons b); virtual bool handleMouseMoves(int x, int y, Qt::MouseButtons b);
//! Handle mouse wheel events. //! Handle mouse wheel events.
virtual void handleMouseWheel(class QWheelEvent* event); virtual void handleMouseWheel(class QWheelEvent* event);
//! Handle mouse click events. //! Handle mouse click events.
virtual void handleMouseClicks(class QMouseEvent* event); virtual void handleMouseClicks(class QMouseEvent* event);
//! Called then the selected object changes.
virtual void selectedObjectChangeCallBack(StelModuleSelectAction act
ion=StelModule::ReplaceSelection);
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods specific to StelMovementMgr // Methods specific to StelMovementMgr
//! Increment/decrement smoothly the vision field and position. //! Increment/decrement smoothly the vision field and position.
void updateMotion(double deltaTime); void updateMotion(double deltaTime);
// These are hopefully temporary. // These are hopefully temporary.
bool getHasDragged() const {return hasDragged;} bool getHasDragged() const {return hasDragged;}
skipping to change at line 203 skipping to change at line 201
void zoomOut(bool); void zoomOut(bool);
//! Set current mount type defining the reference frame in which hea d movements occur. //! Set current mount type defining the reference frame in which hea d movements occur.
void setMountMode(MountMode m); void setMountMode(MountMode m);
//! Get current mount type defining the reference frame in which hea d movements occur. //! Get current mount type defining the reference frame in which hea d movements occur.
MountMode getMountMode(void) const {return mountMode;} MountMode getMountMode(void) const {return mountMode;}
void setDragTimeMode(bool b) {dragTimeMode=b;} void setDragTimeMode(bool b) {dragTimeMode=b;}
bool getDragTimeMode() const {return dragTimeMode;} bool getDragTimeMode() const {return dragTimeMode;}
private slots:
//! Called when the selected object changes.
void selectedObjectChange(StelModule::StelModuleSelectAction action)
;
private: private:
Vec3d j2000ToMountFrame(const Vec3d& v) const; Vec3d j2000ToMountFrame(const Vec3d& v) const;
Vec3d mountFrameToJ2000(const Vec3d& v) const; Vec3d mountFrameToJ2000(const Vec3d& v) const;
double currentFov; // The current FOV in degree double currentFov; // The current FOV in degree
double initFov; // The FOV at startup double initFov; // The FOV at startup
double minFov; // Minimum FOV in degree double minFov; // Minimum FOV in degree
double maxFov; // Maximum FOV in degree double maxFov; // Maximum FOV in degree
void setFov(double f) void setFov(double f)
 End of changes. 2 change blocks. 
3 lines changed or deleted 5 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/