#ifndef ParallaxScrollerStatic_h #define ParallaxScrollerStatic_h #include #include #include class ParallaxScrollerItem; class ParallaxScrollerStatic { public: ParallaxScrollerStatic(QGraphicsScene* scene); virtual ~ParallaxScrollerStatic(); void setLayerWidth(int width); void addParallaxScrollItem(const QString& layer, QPointF pos, qreal depth, qreal slowingFactor); private: QGraphicsScene* m_parent; QVector m_layersFirstWave; QVector m_layerSecondWave; int m_layerWidth; }; #endif // ParallaxScrollerStatic_h