StelGui.hpp   StelGui.hpp 
skipping to change at line 101 skipping to change at line 101
//! Get whether the button toggling nebulae background is visible //! Get whether the button toggling nebulae background is visible
bool getFlagShowNebulaBackgroundButton() const; bool getFlagShowNebulaBackgroundButton() const;
//! Get whether the button toggling TOAST survey is visible //! Get whether the button toggling TOAST survey is visible
bool getFlagShowToastSurveyButton() const; bool getFlagShowToastSurveyButton() const;
//! Get whether the button toggling bookmarks is visible //! Get whether the button toggling bookmarks is visible
bool getFlagShowBookmarksButton() const; bool getFlagShowBookmarksButton() const;
//! Get whether the button toggling ICRS grid is visible
bool getFlagShowICRSGridButton() const;
//! Get whether the button toggling galactic grid is visible
bool getFlagShowGalacticGridButton() const;
//! Get whether the button toggling ecliptic grid is visible
bool getFlagShowEclipticGridButton() const;
//! Get whether the button toggling constellation boundaries is visi
ble
bool getFlagShowConstellationBoundariesButton() const;
//! returns true if the gui has completed init process. //! returns true if the gui has completed init process.
bool initComplete(void) const; bool initComplete(void) const;
#ifdef ENABLE_SCRIPT_CONSOLE #ifdef ENABLE_SCRIPT_CONSOLE
ScriptConsole* getScriptConsole() {return scriptConsole;} ScriptConsole* getScriptConsole() {return scriptConsole;}
#endif #endif
//! Used to force a refreshing of the GUI elements such as the butto n bars. //! Used to force a refreshing of the GUI elements such as the butto n bars.
virtual void forceRefreshGui(); virtual void forceRefreshGui();
skipping to change at line 135 skipping to change at line 147
//! Define whether the button toggling nebulae background should be visible //! Define whether the button toggling nebulae background should be visible
void setFlagShowNebulaBackgroundButton(bool b); void setFlagShowNebulaBackgroundButton(bool b);
//! Define whether the button toggling TOAST survey should be visibl e //! Define whether the button toggling TOAST survey should be visibl e
void setFlagShowToastSurveyButton(bool b); void setFlagShowToastSurveyButton(bool b);
//! Define whether the button toggling bookmarks should be visible //! Define whether the button toggling bookmarks should be visible
void setFlagShowBookmarksButton(bool b); void setFlagShowBookmarksButton(bool b);
//! Define whether the button toggling ICRS grid should be visible
void setFlagShowICRSGridButton(bool b);
//! Define whether the button toggling galactic grid should be visib
le
void setFlagShowGalacticGridButton(bool b);
//! Define whether the button toggling ecliptic grid should be visib
le
void setFlagShowEclipticGridButton(bool b);
//! Define whether the button toggling constellation boundaries shou
ld be visible
void setFlagShowConstellationBoundariesButton(bool b);
void setFlagShowDecimalDegrees(bool b); void setFlagShowDecimalDegrees(bool b);
//! Get the auto-hide status of the horizontal toolbar. //! Get the auto-hide status of the horizontal toolbar.
bool getAutoHideHorizontalButtonBar() const; bool getAutoHideHorizontalButtonBar() const;
//! Set the auto-hide status of the horizontal toolbar. //! Set the auto-hide status of the horizontal toolbar.
//! When set to true, the horizontal toolbar will auto-hide itself, only //! When set to true, the horizontal toolbar will auto-hide itself, only
//! making an appearance when the mouse is nearby. When false, it w ill //! making an appearance when the mouse is nearby. When false, it w ill
//! remain on screen. //! remain on screen.
//! @param b to hide or not to hide //! @param b to hide or not to hide
void setAutoHideHorizontalButtonBar(bool b); void setAutoHideHorizontalButtonBar(bool b);
skipping to change at line 227 skipping to change at line 251
bool flagShowNebulaBackgroundButton; bool flagShowNebulaBackgroundButton;
StelButton* btShowNebulaeBackground; StelButton* btShowNebulaeBackground;
bool flagShowToastSurveyButton; bool flagShowToastSurveyButton;
StelButton* btShowToastSurvey; StelButton* btShowToastSurvey;
bool flagShowBookmarksButton; bool flagShowBookmarksButton;
StelButton* btShowBookmarks; StelButton* btShowBookmarks;
bool flagShowICRSGridButton;
StelButton* btShowICRSGrid;
bool flagShowGalacticGridButton;
StelButton* btShowGalacticGrid;
bool flagShowEclipticGridButton;
StelButton* btShowEclipticGrid;
bool flagShowConstellationBoundariesButton;
StelButton* btShowConstellationBoundaries;
bool initDone; bool initDone;
QSizeF savedProgressBarSize; QSizeF savedProgressBarSize;
// Currently used StelStyle // Currently used StelStyle
StelStyle currentStelStyle; StelStyle currentStelStyle;
#ifndef DISABLE_SCRIPTING #ifndef DISABLE_SCRIPTING
// We use a QStringList to save the user-configured buttons while sc ript is running, and restore them later. // We use a QStringList to save the user-configured buttons while sc ript is running, and restore them later.
QStringList scriptSaveSpeedbuttons; QStringList scriptSaveSpeedbuttons;
skipping to change at line 256 skipping to change at line 292
{ {
public: public:
StelGui() {;} StelGui() {;}
~StelGui() {;} ~StelGui() {;}
virtual void init(QGraphicsWidget* topLevelGraphicsWidget, class Ste lAppGraphicsWidget* stelAppGraphicsWidget) {;} virtual void init(QGraphicsWidget* topLevelGraphicsWidget, class Ste lAppGraphicsWidget* stelAppGraphicsWidget) {;}
virtual void updateI18n() {;} virtual void updateI18n() {;}
virtual void setStelStyle(const QString& section) {;} virtual void setStelStyle(const QString& section) {;}
virtual void setInfoTextFilters(const StelObject::InfoStringGroup& a flags) {dummyInfoTextFilter=aflags;} virtual void setInfoTextFilters(const StelObject::InfoStringGroup& a flags) {dummyInfoTextFilter=aflags;}
virtual const StelObject::InfoStringGroup& getInfoTextFilters() cons t {return dummyInfoTextFilter;} virtual const StelObject::InfoStringGroup& getInfoTextFilters() cons t {return dummyInfoTextFilter;}
virtual QProgressBar* addProgressBar() {return new QProgressBar;} virtual QProgressBar* addProgressBar() {return new QProgressBar;}
virtual QAction* addGuiActions(const QString& actionName, const QStr ing& text, const QString& shortCut, const QString& helpGroup, bool checkabl e=true, bool autoRepeat=false) {return NULL;} virtual QAction* addGuiActions(const QString& actionName, const QStr ing& text, const QString& shortCut, const QString& helpGroup, bool checkabl e=true, bool autoRepeat=false) {return Q_NULLPTR;}
virtual void forceRefreshGui() {;} virtual void forceRefreshGui() {;}
virtual void setVisible(bool b) {visible=b;} virtual void setVisible(bool b) {visible=b;}
virtual bool getVisible() const {return visible;} virtual bool getVisible() const {return visible;}
virtual bool isCurrentlyUsed() const {return false;} virtual bool isCurrentlyUsed() const {return false;}
private: private:
StelObject::InfoStringGroup dummyInfoTextFilter; StelObject::InfoStringGroup dummyInfoTextFilter;
bool visible; bool visible;
}; };
#endif #endif
 End of changes. 4 change blocks. 
1 lines changed or deleted 41 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/