| 328 | } |
| 329 | |
| 330 | void DrawingProgramSelection::add_to_selection(const std::vector<CanvasComponentContainer::ObjInfo*>& newSelection) { |
| 331 | selectedSet.insert(selectedSet.end(), newSelection.begin(), newSelection.end()); |
| 332 | sort_selection(); |
| 333 | calculate_aabb(); |
| 334 | } |
| 335 | |
| 336 | void DrawingProgramSelection::set_to_selection(const std::vector<CanvasComponentContainer::ObjInfo*>& newSelection) { |
| 337 | selectedSet = newSelection; |