Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/layers/FloatItemsLayer.h
Show All 27 Lines | |||||
28 | */ | 28 | */ | ||
29 | class FloatItemsLayer : public QObject, public LayerInterface | 29 | class FloatItemsLayer : public QObject, public LayerInterface | ||
30 | { | 30 | { | ||
31 | Q_OBJECT | 31 | Q_OBJECT | ||
32 | 32 | | |||
33 | public: | 33 | public: | ||
34 | explicit FloatItemsLayer(QObject *parent = 0); | 34 | explicit FloatItemsLayer(QObject *parent = 0); | ||
35 | 35 | | |||
36 | QStringList renderPosition() const override; | 36 | RenderPositions renderPositions() const override; | ||
37 | 37 | | |||
38 | bool render(GeoPainter *painter, ViewportParams *viewport, | 38 | bool render(GeoPainter *painter, ViewportParams *viewport, | ||
39 | const QString &renderPos = "NONE", GeoSceneLayer *layer = 0) override; | 39 | RenderPosition renderPos, GeoSceneLayer *layer) override; | ||
40 | 40 | | |||
41 | void addFloatItem(AbstractFloatItem *floatItem); | 41 | void addFloatItem(AbstractFloatItem *floatItem); | ||
42 | 42 | | |||
43 | /** | 43 | /** | ||
44 | * @brief Returns a list of all FloatItems of the layer | 44 | * @brief Returns a list of all FloatItems of the layer | ||
45 | * @return the list of the floatItems | 45 | * @return the list of the floatItems | ||
46 | */ | 46 | */ | ||
47 | QList<AbstractFloatItem *> floatItems() const; | 47 | QList<AbstractFloatItem *> floatItems() const; | ||
Show All 28 Lines |