Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/render/atmosphere/AtmospherePlugin.h
Show All 29 Lines | 29 | public: | |||
---|---|---|---|---|---|
30 | AtmospherePlugin(); | 30 | AtmospherePlugin(); | ||
31 | 31 | | |||
32 | explicit AtmospherePlugin( const MarbleModel *marbleModel ); | 32 | explicit AtmospherePlugin( const MarbleModel *marbleModel ); | ||
33 | 33 | | |||
34 | QStringList backendTypes() const; | 34 | QStringList backendTypes() const; | ||
35 | 35 | | |||
36 | QString renderPolicy() const; | 36 | QString renderPolicy() const; | ||
37 | 37 | | |||
38 | QStringList renderPosition() const; | 38 | RenderPositions renderPositions() const override; | ||
39 | 39 | | |||
40 | virtual RenderType renderType() const; | 40 | virtual RenderType renderType() const; | ||
41 | 41 | | |||
42 | QString name() const; | 42 | QString name() const; | ||
43 | 43 | | |||
44 | QString guiString() const; | 44 | QString guiString() const; | ||
45 | 45 | | |||
46 | QString nameId() const; | 46 | QString nameId() const; | ||
Show All 9 Lines | |||||
56 | QVector<PluginAuthor> pluginAuthors() const override; | 56 | QVector<PluginAuthor> pluginAuthors() const override; | ||
57 | 57 | | |||
58 | qreal zValue() const; | 58 | qreal zValue() const; | ||
59 | 59 | | |||
60 | void initialize(); | 60 | void initialize(); | ||
61 | 61 | | |||
62 | bool isInitialized() const; | 62 | bool isInitialized() const; | ||
63 | 63 | | |||
64 | bool render( GeoPainter *painter, ViewportParams *viewport, const QString& renderPos, GeoSceneLayer * layer = 0 ); | 64 | bool render(GeoPainter *painter, ViewportParams *viewport, RenderPosition renderPos, GeoSceneLayer * layer) override; | ||
65 | void repaintPixmap(const ViewportParams *viewParams); | 65 | void repaintPixmap(const ViewportParams *viewParams); | ||
66 | 66 | | |||
67 | public Q_SLOTS: | 67 | public Q_SLOTS: | ||
68 | void updateTheme(); | 68 | void updateTheme(); | ||
69 | 69 | | |||
70 | private: | 70 | private: | ||
71 | QPixmap m_renderPixmap; | 71 | QPixmap m_renderPixmap; | ||
72 | QColor m_renderColor; | 72 | QColor m_renderColor; | ||
73 | int m_renderRadius; | 73 | int m_renderRadius; | ||
74 | }; | 74 | }; | ||
75 | 75 | | |||
76 | } | 76 | } | ||
77 | 77 | | |||
78 | #endif // MARBLE_ATMOSPHEREPLUGIN_H | 78 | #endif // MARBLE_ATMOSPHEREPLUGIN_H |