namespace ARDOUR_UI_UTILS {
-extern sigc::signal<void> DPIReset;
-
gint just_hide_it (GdkEventAny*, Gtk::Window*);
void add_item_with_sensitivity (Gtk::Menu_Helpers::MenuList &, Gtk::Menu_Helpers::MenuElem, bool);
Pango::FontDescription sanitized_font (std::string const&);
Pango::FontDescription get_font_for_style (std::string widgetname);
-uint32_t rgba_from_style (std::string, uint32_t, uint32_t, uint32_t, uint32_t, std::string = "fg", int = Gtk::STATE_NORMAL, bool = true);
-
-bool rgba_p_from_style (std::string, float*, float*, float*, std::string = "fg", int = Gtk::STATE_NORMAL);
-
void decorate (Gtk::Window& w, Gdk::WMDecoration d);
void set_color_from_rgb (Gdk::Color&, uint32_t);
uint32_t contrasting_text_color (uint32_t c);
bool relay_key_press (GdkEventKey* ev, Gtk::Window* win);
-bool forward_key_press (GdkEventKey* ev);
bool key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey* ev);
-bool emulate_key_event (Gtk::Widget*, unsigned int);
+bool emulate_key_event (unsigned int);
Glib::RefPtr<Gdk::Pixbuf> get_xpm (std::string);
std::vector<std::string> get_icon_sets ();
const char* const *get_xpm_data (std::string path);
std::string longest (std::vector<std::string>&);
bool key_is_legal_for_numeric_entry (guint keyval);
-void reset_dpi ();
-void set_pango_fontsize ();
void resize_window_to_proportion_of_monitor (Gtk::Window*, int, int);
std::string rate_as_string (float r);
+bool windows_overlap (Gtk::Window *a, Gtk::Window *b);
+
+bool overwrite_file_dialog (Gtk::Window& parent, std::string title, std::string text);
+std::string show_gdk_event_state (int state);
+
} // namespace
#endif /* __ardour_gtk_utils_h__ */