X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Futils.h;h=0df04cb0f8525be9fbfe68759aa8bb34a2add235;hb=2d81a5636dcf5532769a1bf4ddaafb2fa91b990a;hp=4cf54f6c9163b1c4a045d76ff7e1ede5855204e2;hpb=3ae28868ff02abf44102fff9954e7e8d6359867f;p=ardour.git diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h index 4cf54f6c91..0df04cb0f8 100644 --- a/gtk2_ardour/utils.h +++ b/gtk2_ardour/utils.h @@ -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__ */