summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-06-20 13:41:55 +0000
committerCarl Hetherington <carl@carlh.net>2009-06-20 13:41:55 +0000
commitb895b677bf29cca95fe0626616d7495113386b04 (patch)
tree41f6e065356445cc769c797aa11e4226e0babe05 /gtk2_ardour/utils.h
parent379b19cfdc1c05d93249c902d9a8dd7e5a7737d8 (diff)
Optional tabs down the LHS of the editor window to indicate edit group membership.
git-svn-id: svn://localhost/ardour2/branches/3.0@5220 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r--gtk2_ardour/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h
index eb74864a78..cf563560a4 100644
--- a/gtk2_ardour/utils.h
+++ b/gtk2_ardour/utils.h
@@ -53,6 +53,9 @@ slider_position_to_gain (double pos)
}
Glib::ustring fit_to_pixels (const Glib::ustring&, int pixel_width, Pango::FontDescription& font, int& actual_width, bool with_ellipses = false);
+
+std::pair<std::string, double> fit_to_pixels (cairo_t *, std::string, double);
+
int pixel_width (const Glib::ustring& str, Pango::FontDescription& font);
gint just_hide_it (GdkEventAny*, Gtk::Window*);