X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk2_ardour%2Fvisibility_group.h;h=ce1adecdd46d804b7b46613d14eb49e2167bcbc1;hb=34ae70a6214a74165b4ca4a52f7da2683f61be55;hp=20be7dcf7248cb7d32c6093021eae645ac5b5504;hpb=31f94b9b048f55b06b7de8fa0b8612b0fa2ea274;p=ardour.git diff --git a/gtk2_ardour/visibility_group.h b/gtk2_ardour/visibility_group.h index 20be7dcf72..ce1adecdd4 100644 --- a/gtk2_ardour/visibility_group.h +++ b/gtk2_ardour/visibility_group.h @@ -36,7 +36,7 @@ class VisibilityGroup { public: VisibilityGroup (std::string const &); - + void add ( Gtk::Widget *, std::string const &, @@ -44,7 +44,7 @@ public: bool visible = false, boost::function ()> = 0 ); - + Gtk::Menu* menu (); Gtk::Widget* list_view (); bool button_press_event (GdkEventButton *); @@ -55,7 +55,10 @@ public: std::string get_state_value () const; PBD::Signal0 VisibilityChanged; - + + static std::string remove_element (std::string const& from, std::string const& element); + static std::string add_element (std::string const& from, std::string const& element); + private: struct Member {