summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-04-06 16:57:35 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-04-06 16:57:35 +0000
commite69aca28426dd17a0f82ea01c7c98e217b4fdcc3 (patch)
tree32854686f9de3cd61f07a5e801886b0f2d5a7012 /gtk2_ardour/utils.h
parent3a7487d3fa6887c846bc02d2764e376f7f209a03 (diff)
MIDI/Controllables for monitor section, and related fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@6863 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r--gtk2_ardour/utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h
index ca1d751539..bfde7807d5 100644
--- a/gtk2_ardour/utils.h
+++ b/gtk2_ardour/utils.h
@@ -31,10 +31,16 @@
#include "canvas.h"
+namespace PBD {
+ class Controllable;
+ class ScopedConnectionList;
+}
+
namespace Gtk {
class Window;
class ComboBoxText;
class Paned;
+ class Adjustment;
}
Glib::ustring fit_to_pixels (const Glib::ustring&, int pixel_width, Pango::FontDescription& font, int& actual_width, bool with_ellipses = false);
@@ -98,4 +104,6 @@ void resize_window_to_proportion_of_monitor (Gtk::Window*, int, int);
std::string escape_underscores (std::string const &);
+void control_link (PBD::ScopedConnectionList& scl, boost::shared_ptr<PBD::Controllable> c, Gtk::Adjustment& a);
+
#endif /* __ardour_gtk_utils_h__ */