StelMainView.hpp   StelMainView.hpp 
skipping to change at line 93 skipping to change at line 93
void setFullScreen(bool); void setFullScreen(bool);
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Specific methods // Specific methods
//! Save a screen shot. //! Save a screen shot.
//! The format of the file, and hence the filename extension //! The format of the file, and hence the filename extension
//! depends on the architecture and build type. //! depends on the architecture and build type.
//! @arg filePrefix changes the beginning of the file name //! @arg filePrefix changes the beginning of the file name
//! @arg saveDir changes the directory where the screenshot is saved //! @arg saveDir changes the directory where the screenshot is saved
//! If saveDir is "" then StelFileMgr::getScreenshotDir() will be us ed //! If saveDir is "" then StelFileMgr::getScreenshotDir() will be us ed
void saveScreenShot(const QString& filePrefix="stellarium-", const Q //! @arg overwrite if true, @arg filePrefix is used as filename, and
String& saveDir=""); existing file will be overwritten.
void saveScreenShot(const QString& filePrefix="stellarium-", const Q
String& saveDir="", const bool overwrite=false);
//! Get whether colors are inverted when saving screenshot //! Get whether colors are inverted when saving screenshot
bool getFlagInvertScreenShotColors() const {return flagInvertScreenS hotColors;} bool getFlagInvertScreenShotColors() const {return flagInvertScreenS hotColors;}
//! Set whether colors should be inverted when saving screenshot //! Set whether colors should be inverted when saving screenshot
void setFlagInvertScreenShotColors(bool b) {flagInvertScreenShotColo rs=b;} void setFlagInvertScreenShotColors(bool b) {flagInvertScreenShotColo rs=b;}
//! Get whether existing files are overwritten when saving screensho
t
bool getFlagOverwriteScreenShots() const {return flagOverwriteScreen
shots;}
//! Set whether existing files are overwritten when saving screensho
t
void setFlagOverwriteScreenShots(bool b) {flagOverwriteScreenshots=b
;}
//! Get the state of the mouse cursor timeout flag //! Get the state of the mouse cursor timeout flag
bool getFlagCursorTimeout() {return flagCursorTimeout;} bool getFlagCursorTimeout() {return flagCursorTimeout;}
//! Get the mouse cursor timeout in seconds //! Get the mouse cursor timeout in seconds
float getCursorTimeout() const {return cursorTimeout;} float getCursorTimeout() const {return cursorTimeout;}
//! Get the state of the mouse cursor timeout flag //! Get the state of the mouse cursor timeout flag
void setFlagCursorTimeout(bool b) {flagCursorTimeout=b;} void setFlagCursorTimeout(bool b) {flagCursorTimeout=b;}
//! Set the mouse cursor timeout in seconds //! Set the mouse cursor timeout in seconds
void setCursorTimeout(float t) {cursorTimeout=t;} void setCursorTimeout(float t) {cursorTimeout=t;}
//! Set the minimum frames per second. Usually this minimum will be switched to after there are no //! Set the minimum frames per second. Usually this minimum will be switched to after there are no
skipping to change at line 189 skipping to change at line 195
//! The openGL window //! The openGL window
#if STEL_USE_NEW_OPENGL_WIDGETS #if STEL_USE_NEW_OPENGL_WIDGETS
StelQOpenGLWidget* glWidget; StelQOpenGLWidget* glWidget;
#else #else
StelQGLWidget* glWidget; StelQGLWidget* glWidget;
#endif #endif
StelGuiBase* gui; StelGuiBase* gui;
class StelApp* stelApp; class StelApp* stelApp;
bool flagInvertScreenShotColors; bool flagInvertScreenShotColors;
bool flagOverwriteScreenshots; //! if set to true, screenshot is nam ed exactly screenShotPrefix.png and overwrites existing file
QString screenShotPrefix; QString screenShotPrefix;
QString screenShotDir; QString screenShotDir;
// Number of second before the mouse cursor disappears // Number of second before the mouse cursor disappears
float cursorTimeout; float cursorTimeout;
bool flagCursorTimeout; bool flagCursorTimeout;
double lastEventTimeSec; double lastEventTimeSec;
 End of changes. 3 change blocks. 
2 lines changed or deleted 14 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/