fix binding for mixer-on-top (fixes #3686)
[ardour.git] / gtk2_ardour / utils.h
index 58cc1c25bf74eaf7885a9d34b28caef228378906..2dce61e9080e468f3144dcfdb2f0bfc69f64ac3a 100644 (file)
@@ -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);
@@ -85,25 +87,10 @@ bool key_is_legal_for_numeric_entry (guint keyval);
 void reset_dpi ();
 void set_pango_fontsize ();
 
-inline guint8 convert_color_channel (guint8 src, guint8 alpha);
-void convert_bgra_to_rgba (guint8 const* src,
-                          guint8*       dst,
-                          int           width,
-                          int           height);
-
-Glib::RefPtr<Gdk::Pixbuf> pixbuf_from_string (const std::string& name,
-                                              Pango::FontDescription* font,
-                                              int clip_width,
-                                              int clip_height,
-                                              Gdk::Color);
-
 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);
 
-int physical_screen_height (Glib::RefPtr<Gdk::Window>);
-int physical_screen_width (Glib::RefPtr<Gdk::Window>);
-
 #endif /* __ardour_gtk_utils_h__ */