StelSkyLayer.hpp   StelSkyLayer.hpp 
skipping to change at line 27 skipping to change at line 27
*/ */
#ifndef STELSKYLAYER_HPP #ifndef STELSKYLAYER_HPP
#define STELSKYLAYER_HPP #define STELSKYLAYER_HPP
#include <QObject> #include <QObject>
#include <QString> #include <QString>
#include <QSharedPointer> #include <QSharedPointer>
#include "StelCore.hpp" #include "StelCore.hpp"
#include "StelProjectorType.hpp"
class StelCore; class StelCore;
class StelPainter;
//! Abstract class defining the API to implement for all sky layer. //! Abstract class defining the API to implement for all sky layer.
//! A sky layer is a graphical layer containing image or polygons displayed in the sky. //! A sky layer is a graphical layer containing image or polygons displayed in the sky.
//! The StelSkyImageMgr allows to set the display order for layers, as well as opacity. //! The StelSkyLayerMgr allows to set the display order for layers, as well as opacity.
class StelSkyLayer : public QObject class StelSkyLayer : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
StelSkyLayer(QObject* parent=NULL) : QObject(parent) {;} StelSkyLayer(QObject* parent=NULL) : QObject(parent), frameType(Stel Core::FrameUninitialized) {;}
//! Draws the content of the layer. //! Draws the content of the layer.
virtual void draw(StelCore* core, StelPainter& sPainter, float opaci ty=1.)=0; virtual void draw(StelCore* core, class StelRenderer* renderer, Stel ProjectorP projector, float opacity=1.)=0;
//! Return the short name to display in the loading bar. //! Return the short name to display in the loading bar.
virtual QString getShortName() const =0; virtual QString getShortName() const =0;
//! Return the short server name to display in the loading bar. //! Return the short server name to display in the loading bar.
virtual QString getShortServerCredits() const {return QString();} virtual QString getShortServerCredits() const {return QString();}
//! Return a hint on which key to use for referencing this layer. //! Return a hint on which key to use for referencing this layer.
//! Note that the key effectively used may be different. //! Note that the key effectively used may be different.
virtual QString getKeyHint() const {return getShortName();} virtual QString getKeyHint() const {return getShortName();}
 End of changes. 5 change blocks. 
4 lines changed or deleted 5 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/