StelToast.hpp   StelToast.hpp 
skipping to change at line 142 skipping to change at line 142
public: public:
ToastSurvey(const QString& path, int maxLevel); ToastSurvey(const QString& path, int maxLevel);
virtual ~ToastSurvey(); virtual ~ToastSurvey();
QString getTilePath(int level, int x, int y) const; QString getTilePath(int level, int x, int y) const;
void draw(StelPainter* sPainter); void draw(StelPainter* sPainter);
const ToastGrid* getGrid() const {return &grid;} const ToastGrid* getGrid() const {return &grid;}
int getMaxLevel() const {return maxLevel;} int getMaxLevel() const {return maxLevel;}
int getTilesSize() const {return 256;} int getTilesSize() const {return 256;}
//! Returns a cached, non-active but recently used tile with the spe cified coordinates //! Returns a cached, non-active but recently used tile with the spe cified coordinates
//! or NULL if not currently cached. The ownership of the tile trans fers to the caller. //! or Q_NULLPTR if not currently cached. The ownership of the tile transfers to the caller.
ToastTile* getCachedTile(int level, int x, int y); ToastTile* getCachedTile(int level, int x, int y);
//! Puts the given tile into the tile cache. The ownership of the ti le will be taken. //! Puts the given tile into the tile cache. The ownership of the ti le will be taken.
void putIntoCache(ToastTile* tile); void putIntoCache(ToastTile* tile);
private: private:
ToastGrid grid; ToastGrid grid;
QString path; QString path;
ToastTile* rootTile; ToastTile* rootTile;
int maxLevel; int maxLevel;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 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/