X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdesigner%2Fmanipulator.h;fp=source%2Fdesigner%2Fmanipulator.h;h=2ed49fb1a754bf8a2f1caf6e336896a78aafc7be;hb=c0c5a34d1056eabdebd350da3534e24c902c0dac;hp=9177f971b66d2d63011d69601306287b4dca1c8e;hpb=47341c72a70e6cf9d8e963705a50197bbc20a87d;p=r2c2.git diff --git a/source/designer/manipulator.h b/source/designer/manipulator.h index 9177f97..2ed49fb 100644 --- a/source/designer/manipulator.h +++ b/source/designer/manipulator.h @@ -56,7 +56,7 @@ public: private: Designer &designer; - Selection *selection; + Selection &selection; std::vector tracks; Marklin::Point center; @@ -72,12 +72,10 @@ private: float rot_origin; int elev_origin; std::set neighbors; - sigc::connection selection_changed_conn; public: - Manipulator(Designer &); + Manipulator(Designer &, Selection &); - void set_selection(Selection *); void start_move(); void start_rotate(); void start_elevate();