StelApp.hpp   StelApp.hpp 
skipping to change at line 23 skipping to change at line 23
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#ifndef _STELAPP_HPP_ #ifndef _STELAPP_HPP_
#define _STELAPP_HPP_ #define _STELAPP_HPP_
#include "config.h"
#include <QString> #include <QString>
#include <QObject> #include <QObject>
// Predeclaration of some classes // Predeclaration of some classes
class StelCore; class StelCore;
class StelTextureMgr; class StelTextureMgr;
class StelObjectMgr; class StelObjectMgr;
class StelLocaleMgr; class StelLocaleMgr;
class StelModuleMgr; class StelModuleMgr;
class StelSkyCultureMgr; class StelSkyCultureMgr;
skipping to change at line 152 skipping to change at line 151
//! Return the main configuration options //! Return the main configuration options
QSettings* getSettings() {return confSettings;} QSettings* getSettings() {return confSettings;}
//! Return the currently used style //! Return the currently used style
QString getCurrentStelStyle() {return "color";} QString getCurrentStelStyle() {return "color";}
//! Update all object according to the deltaTime in seconds. //! Update all object according to the deltaTime in seconds.
void update(double deltaTime); void update(double deltaTime);
//! Draw all registered StelModule in the order defined by the order lists. //! Draw all registered StelModule in the order defined by the order lists.
//! @return the max squared distance in pixels that any object has t // 2014-11: OLD COMMENT? What does a void return?
ravelled since the last update. // @return the max squared distance in pixels that any object has tr
avelled since the last update.
void draw(); void draw();
//! Call this when the size of the GL window has changed. //! Call this when the size of the GL window has changed.
void glWindowHasBeenResized(float x, float y, float w, float h); void glWindowHasBeenResized(float x, float y, float w, float h);
//! Get the ratio between real device pixel and "Device Independent Pixel". //! Get the ratio between real device pixel and "Device Independent Pixel".
//! Usually this value is 1, but for a mac with retina screen this w ill be value 2. //! Usually this value is 1, but for a mac with retina screen this w ill be value 2.
float getDevicePixelsPerPixel() const {return devicePixelsPerPixel;} float getDevicePixelsPerPixel() const {return devicePixelsPerPixel;}
void setDevicePixelsPerPixel(float dppp); void setDevicePixelsPerPixel(float dppp);
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 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/