summaryrefslogtreecommitdiff
path: root/gtk2_ardour/processor_box.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-01-07 17:10:18 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-01-07 17:10:18 +0000
commitc9de3c5a16532ccc6b5e3bbd4921d0173ce58a86 (patch)
tree74e34aac903204936e0ea43735774d8a464ae3cc /gtk2_ardour/processor_box.h
parent68d62e8ec75a60eefdc1ea7ecb127fadbecd1898 (diff)
add an empty ProcessorEntry before the fader if there are no pre-fader processors, to strongly visually indicate that you can insert new processors there; add back a fixed, static tooltip for the processor box
git-svn-id: svn://localhost/ardour2/branches/3.0@11187 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/processor_box.h')
-rw-r--r--gtk2_ardour/processor_box.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h
index bf02caf3d7..b2fde9c668 100644
--- a/gtk2_ardour/processor_box.h
+++ b/gtk2_ardour/processor_box.h
@@ -144,6 +144,12 @@ private:
PBD::ScopedConnection name_connection;
};
+class BlankProcessorEntry : public ProcessorEntry
+{
+ public:
+ BlankProcessorEntry (Width w);
+};
+
class SendProcessorEntry : public ProcessorEntry
{
public:
@@ -252,6 +258,7 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD
* put at the end of the plugin list.
*/
int _placement;
+ uint32_t _visible_prefader_processors;
RouteProcessorSelection& _rr_selection;
@@ -290,6 +297,7 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD
bool processor_button_release_event (GdkEventButton *, ProcessorEntry *);
void redisplay_processors ();
void add_processor_to_display (boost::weak_ptr<ARDOUR::Processor>);
+ void help_count_visible_prefader_processors (boost::weak_ptr<ARDOUR::Processor>, uint32_t*, bool*);
void reordered ();
void report_failed_reorder ();
void route_processors_changed (ARDOUR::RouteProcessorChange);