X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fstructs.h;h=bef3c52f93879fa24f545b90ca9cf4cdc97ac813;hb=bf5a50feb0f84a4627a65c5b82c3ca2d2eefe54b;hp=5f694886d5b079843c05ce5db191f8bd8a9c8525;hpb=c20f82651fdc4dd26172bcb71a85e6eb29eacd43;p=architektonas diff --git a/src/structs.h b/src/structs.h index 5f69488..bef3c52 100644 --- a/src/structs.h +++ b/src/structs.h @@ -128,13 +128,14 @@ struct Spline { struct Container { OBJECT_COMMON; - std::vector objects; + VPVector objects; double scale; bool topLevel; Object * clicked; Container(bool tl = false): type(OTContainer), id(Global::objectID++), selected(false), hovered(false), hitObject(false), topLevel(tl), clicked(NULL) {} void Add(void * obj) { objects.push_back(obj); } + void Add(VPVector objs) { objects.insert(objects.end(), objs.begin(), objs.end()); } // void DeleteContents(void) {} /* void DeleteContents(Container * c) {