summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-12-30 21:15:51 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-12-30 21:15:51 +0000
commit5e7b4559fefc15e91ccafdb6ea5ba52211d6cef0 (patch)
tree7cae2c87ce08bcf040a1825b4e2283d0d9d938eb /gtk2_ardour/utils.h
parent2cf464cf1daeb2dfdbb8445ff49df67fc85af26c (diff)
resize all editor comboboxes when DPI is reset. involved a minor refactoring of some code and the spreading of the awful COMBO_FUDGE+10 hack
git-svn-id: svn://localhost/ardour2/branches/3.0@8398 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r--gtk2_ardour/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h
index fbfba08a77..2dce61e908 100644
--- a/gtk2_ardour/utils.h
+++ b/gtk2_ardour/utils.h
@@ -42,6 +42,8 @@ namespace Gtk {
class Adjustment;
}
+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);