Oculars.hpp   Oculars.hpp 
skipping to change at line 65 skipping to change at line 65
public: public:
Oculars(); Oculars();
virtual ~Oculars(); virtual ~Oculars();
static QSettings* appSettings(); static QSettings* appSettings();
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods defined in the StelModule class // Methods defined in the StelModule class
virtual void init(); virtual void init();
virtual void deinit(); virtual void deinit();
virtual bool configureGui(bool show=true); virtual bool configureGui(bool show=true);
virtual void draw(StelCore* core); virtual void draw(StelCore* core, class StelRenderer* renderer);
virtual double getCallOrder(StelModuleActionName actionName) const; virtual double getCallOrder(StelModuleActionName actionName) const;
//! Returns the module-specific style sheet. //! Returns the module-specific style sheet.
//! The main StelStyle instance should be passed. //! The main StelStyle instance should be passed.
virtual const StelStyle getModuleStyleSheet(const StelStyle& style); virtual const StelStyle getModuleStyleSheet(const StelStyle& style);
//! This method is needed because the MovementMgr classes handleKeys () method consumes the event. //! This method is needed because the MovementMgr classes handleKeys () method consumes the event.
//! Because we want the ocular view to track, we must intercept & pr ocess ourselves. Only called //! Because we want the ocular view to track, we must intercept & pr ocess ourselves. Only called
//! while flagShowOculars or flagShowCCD == true. //! while flagShowOculars or flagShowCCD == true.
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 void update(double) {;} virtual void update(double) {;}
skipping to change at line 137 skipping to change at line 137
void setStelStyle(const QString& style); void setStelStyle(const QString& style);
private: private:
//! Set up the Qt actions needed to activate the plugin. //! Set up the Qt actions needed to activate the plugin.
void initializeActivationActions(); void initializeActivationActions();
//! Returns TRUE if at least one bincular is defined. //! Returns TRUE if at least one bincular is defined.
bool isBinocularDefined(); bool isBinocularDefined();
//! Reneders the CCD bounding box on-screen. A telescope must be se lected, or this call does nothing. //! Reneders the CCD bounding box on-screen. A telescope must be se lected, or this call does nothing.
void paintCCDBounds(); void paintCCDBounds(class StelRenderer* renderer);
//! Renders crosshairs into the viewport. //! Renders crosshairs into the viewport.
void paintCrosshairs(); void paintCrosshairs(class StelRenderer* renderer);
//! Paint the mask into the viewport. //! Paint the mask into the viewport.
void paintOcularMask(); void paintOcularMask(class StelRenderer* renderer);
//! Renders the three Telrad circles, but only if not in ocular mode . //! Renders the three Telrad circles, but only if not in ocular mode .
void paintTelrad(); void paintTelrad(class StelRenderer* renderer);
//! Paints the text about the current object selections to the upper right hand of the screen. //! Paints the text about the current object selections to the upper right hand of the screen.
//! Should only be called from a 'ready' state; currently from the d raw() method. //! Should only be called from a 'ready' state; currently from the d raw() method.
void paintText(const StelCore* core); void paintText(const StelCore* core, StelRenderer* renderer);
//! This method is called by the zoom() method, when this plugin is toggled off; it resets to the default view. //! This method is called by the zoom() method, when this plugin is toggled off; it resets to the default view.
void unzoomOcular(); void unzoomOcular();
//! This method is responsible for insuring a valid ini file for the plugin exists. It first checks to see //! This method is responsible for insuring a valid ini file for the plugin exists. It first checks to see
//! if one exists in the expected location. If it does not, a defau lt one is copied into place, and the process //! if one exists in the expected location. If it does not, a defau lt one is copied into place, and the process
//! ends. However, if one does exist, it opens it, and looks for th e oculars_version key. The value (or even //! ends. However, if one does exist, it opens it, and looks for th e oculars_version key. The value (or even
//! presence) is used to determine if the ini file is usable. If no t, it is renamed, and a new one copied over. //! presence) is used to determine if the ini file is usable. If no t, it is renamed, and a new one copied over.
//! It does not ty to cope values over. //! It does not ty to cope values over.
//! Once there is a valid ini file, it is loaded into the settings a ttribute. //! Once there is a valid ini file, it is loaded into the settings a ttribute.
 End of changes. 6 change blocks. 
6 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/