]> Shamusworld >> Repos - architektonas/blobdiff - src/container.h
Mirror tool now works successfully for all object types. :-D
[architektonas] / src / container.h
index ac26722b42fafadc59670bd56f2502a9bbc77944..f4e48e6be39ed8c9fd3d1cdf4e9d4e5ae4037bf9 100644 (file)
@@ -20,18 +20,36 @@ class Container: public Object
                virtual void PointerReleased(void);
                virtual bool NeedsUpdate(void);
                virtual void Add(Object *);
+               virtual QRectF Extents(void);
+               virtual void Enumerate(FILE *);
+               virtual Object * Copy(void);
+               virtual void Mirror(Point, Point);
+               virtual void Save(void);
+               virtual void Restore(void);
+               void Delete(Object *);
+               void DeleteSelectedItems(void);
                void Clear(void);
+               void SelectAll(void);
+               void DeselectAll(void);
+               int ItemsSelected(void);
+               Object * SelectedItem(unsigned int);
+               void MoveContentsTo(Container *);
+               void MoveSelectedContentsTo(Container *);
+               void CopySelectedContentsTo(Container *);
+               void ResizeAllDimensions(double);
 
        protected:
                Vector oldPoint;                                        // Used for dragging
 
-       private:
+       public:
                std::vector<Object *> objects;
+               bool isTopLevelContainer;
+       private:
                bool dragging;
                bool draggingHandle1;
                bool draggingHandle2;
-//             bool needUpdate;
                bool objectWasDragged;
+               bool hit;
 };
 
 #endif // __CONTAINER_H__