summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-12-07 13:08:00 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-12-07 13:08:00 +0000
commitbb737997aea86f08ec16e6444f3666ff6a524be2 (patch)
tree6264b4a2b3357707f447878ef84c7911b8f107fa /gtk2_ardour/utils.h
parent2f837b66f75ad95ff5b6032ca8600bed6ba79fe5 (diff)
move 2 other non-ardour-specific utility functions into gtkmm2ext
git-svn-id: svn://localhost/ardour2/branches/3.0@10932 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r--gtk2_ardour/utils.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h
index d511b0e718..cc6c988b18 100644
--- a/gtk2_ardour/utils.h
+++ b/gtk2_ardour/utils.h
@@ -44,14 +44,7 @@ namespace Gtk {
extern sigc::signal<void> DPIReset;
-std::string fit_to_pixels (const std::string&, 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 std::string& str, Pango::FontDescription& font);
-
gint just_hide_it (GdkEventAny*, Gtk::Window*);
-void allow_keyboard_focus (bool);
void add_item_with_sensitivity (Gtk::Menu_Helpers::MenuList &, Gtk::Menu_Helpers::MenuElem, bool);
unsigned char* xpm2rgb (const char** xpm, uint32_t& w, uint32_t& h);