summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_selector.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-11-18 03:46:50 +0100
committerRobin Gareus <robin@gareus.org>2015-11-18 03:48:28 +0100
commitabb76fd9947651187fdd6cfb74daf1cb7380f0da (patch)
treeec7627bea436e683c4ae3b115395609b17475fc3 /gtk2_ardour/plugin_selector.h
parent3a266ff5e8bad36a219673cdbd2ba34494aa8f39 (diff)
reduce clutter in Plugin Manager List
Diffstat (limited to 'gtk2_ardour/plugin_selector.h')
-rw-r--r--gtk2_ardour/plugin_selector.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/gtk2_ardour/plugin_selector.h b/gtk2_ardour/plugin_selector.h
index 8c76965384..cb90acc2d0 100644
--- a/gtk2_ardour/plugin_selector.h
+++ b/gtk2_ardour/plugin_selector.h
@@ -29,6 +29,7 @@
#include "ardour/session_handle.h"
#include "plugin_interest.h"
+#include "ardour_button.h"
#include "ardour_dialog.h"
namespace ARDOUR {
@@ -61,6 +62,11 @@ class PluginSelector : public ArdourDialog
Gtk::Entry filter_entry;
Gtk::Button filter_button;
+ ArdourButton fil_hidden_button;
+ ArdourButton fil_instruments_button;
+ ArdourButton fil_analysis_button;
+ ArdourButton fil_utils_button;
+
void filter_button_clicked ();
void filter_entry_changed ();
void filter_mode_changed ();
@@ -131,6 +137,11 @@ class PluginSelector : public ArdourDialog
bool show_this_plugin (const ARDOUR::PluginInfoPtr&, const std::string&);
void setup_filter_string (std::string&);
+ bool fil_hidden_button_release (GdkEventButton*);
+ bool fil_instruments_button_release (GdkEventButton*);
+ bool fil_analysis_button_release (GdkEventButton*);
+ bool fil_utils_button_release (GdkEventButton*);
+
void favorite_changed (const std::string& path);
void hidden_changed (const std::string& path);
bool in_row_change;
@@ -142,6 +153,11 @@ class PluginSelector : public ArdourDialog
Gtk::Menu* create_by_category_menu (ARDOUR::PluginInfoList&);
void build_plugin_menu ();
PBD::ScopedConnectionList plugin_list_changed_connection;
+
+ bool _show_hidden;
+ Gtkmm2ext::ActiveState _show_instruments;
+ Gtkmm2ext::ActiveState _show_analysers;
+ Gtkmm2ext::ActiveState _show_utils;
};
#endif // __ardour_plugin_selector_h__