new file
[ardour.git] / gtk2_ardour / utils.h
index 4cf54f6c9163b1c4a045d76ff7e1ede5855204e2..0df04cb0f8525be9fbfe68759aa8bb34a2add235 100644 (file)
@@ -82,6 +82,7 @@ bool canvas_item_visible (ArdourCanvas::Item* item);
 
 void set_color (Gdk::Color&, int);
 
+bool relay_key_press (GdkEventKey* ev, Gtk::Window* win);
 bool key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey* ev);
 bool possibly_translate_keyval_to_make_legal_accelerator (uint32_t& keyval);
 
@@ -101,5 +102,6 @@ void convert_bgra_to_rgba (guint8 const* src,
                           int           width,
                           int           height);
 
+void resize_window_to_proportion_of_monitor (Gtk::Window*, int, int);
 
 #endif /* __ardour_gtk_utils_h__ */