StelMovementMgr.hpp   StelMovementMgr.hpp 
skipping to change at line 51 skipping to change at line 51
//! - Enabling/disabling the zoom keys //! - Enabling/disabling the zoom keys
//! - Enabling/disabling the mouse zoom //! - Enabling/disabling the mouse zoom
//! - Enabling/disabling the mouse movement //! - Enabling/disabling the mouse movement
//! - Sets the zoom and movement speeds //! - Sets the zoom and movement speeds
//! - Sets the auto-zoom duration and mode. //! - Sets the auto-zoom duration and mode.
virtual void init(); virtual void init();
//! Update time-dependent things (does nothing). //! Update time-dependent things (does nothing).
virtual void update(double deltaTime) {;} virtual void update(double deltaTime) {;}
//! Implement required draw function. Does nothing. //! Implement required draw function. Does nothing.
virtual void draw(StelCore* core) {;} virtual void draw(StelCore* acore) {;}
//! 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. //! Called then the selected object changes.
virtual void selectedObjectChangeCallBack(StelModuleSelectAction act ion=StelModule::ReplaceSelection); virtual void selectedObjectChangeCallBack(StelModuleSelectAction act ion=StelModule::ReplaceSelection);
skipping to change at line 190 skipping to change at line 190
} }
void changeFov(double deltaFov); void changeFov(double deltaFov);
void updateVisionVector(double deltaTime); void updateVisionVector(double deltaTime);
void updateAutoZoom(double deltaTime); // Update autoZoom if activat ed void updateAutoZoom(double deltaTime); // Update autoZoom if activat ed
//! Make the first screen position correspond to the second (useful for mouse dragging) //! Make the first screen position correspond to the second (useful for mouse dragging)
void dragView(int x1, int y1, int x2, int y2); void dragView(int x1, int y1, int x2, int y2);
StelCore* core; // The core on which the movement are appli ed StelCore* core; // The core on which the movement are appli ed
class StelObjectMgr* objectMgr;
bool flagLockEquPos; // Define if the equatorial position is loc ked bool flagLockEquPos; // Define if the equatorial position is loc ked
bool flagTracking; // Define if the selected object is followe d bool flagTracking; // Define if the selected object is followe d
// Flags for mouse movements // Flags for mouse movements
bool isMouseMovingHoriz; bool isMouseMovingHoriz;
bool isMouseMovingVert; bool isMouseMovingVert;
bool flagEnableMoveAtScreenEdge; // allow mouse at edge of screen to move view bool flagEnableMoveAtScreenEdge; // allow mouse at edge of screen to move view
bool flagEnableMouseNavigation; bool flagEnableMouseNavigation;
float mouseZoomSpeed; float mouseZoomSpeed;
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 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/