Copyright file added.
[jspeed] / src / rectangle.h
index b9c1fb6..b412dc1 100644 (file)
 
 class QString;
 class QGraphicsRectItem;
+class QGraphicsItem;
 class Reader;
 class GraphicsScene;
 
 class Rectangle : public GraphicsElement
 {
 public:
-    enum Attribute {XPOS, YPOS, WIDTH, HEIGHT, COLOR, ATTRIBUTE_COUNT};
+    enum Attribute {XPOS, YPOS, ZPOS, VISIBLEWHEN, WIDTH, HEIGHT, COLOR, ATTRIBUTE_COUNT};
     Rectangle(Reader* reader);
     virtual bool setAttribute(QString const& name, QString const& value);
     virtual void addToScene(GraphicsScene* scene);
     virtual void update();
+    virtual QGraphicsItem* getElement() const;
 
 private:
     QGraphicsRectItem* element_;