add Group::clear(), do not clear _canvas member of Item when unparented (only the parent is changed)

This commit is contained in:
Paul Davis 2013-04-21 13:10:27 -04:00
parent fee8de9787
commit fca81c9a6a
5 changed files with 67 additions and 171 deletions

View file

@ -40,6 +40,7 @@ public:
void add (Item *);
void remove (Item *);
void clear (bool with_delete = false);
std::list<Item*> const & items () const {
return _items;
}