projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update GUI, use/remove meta-data methods that have been migrated to the backend
[ardour.git]
/
gtk2_ardour
/
visibility_group.h
diff --git
a/gtk2_ardour/visibility_group.h
b/gtk2_ardour/visibility_group.h
index 20be7dcf7248cb7d32c6093021eae645ac5b5504..ce1adecdd46d804b7b46613d14eb49e2167bcbc1 100644
(file)
--- a/
gtk2_ardour/visibility_group.h
+++ b/
gtk2_ardour/visibility_group.h
@@
-36,7
+36,7
@@
class VisibilityGroup
{
public:
VisibilityGroup (std::string const &);
{
public:
VisibilityGroup (std::string const &);
-
+
void add (
Gtk::Widget *,
std::string const &,
void add (
Gtk::Widget *,
std::string const &,
@@
-44,7
+44,7
@@
public:
bool visible = false,
boost::function<boost::optional<bool> ()> = 0
);
bool visible = false,
boost::function<boost::optional<bool> ()> = 0
);
-
+
Gtk::Menu* menu ();
Gtk::Widget* list_view ();
bool button_press_event (GdkEventButton *);
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<void> VisibilityChanged;
std::string get_state_value () const;
PBD::Signal0<void> 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 {
private:
struct Member {