Merge branch 'windows+cc' into cairocanvas
[ardour.git] / libs / gtkmm2ext / gtkmm2ext / utils.h
index de939bb136c88963c243dc7b7c447f95a18ef640..1e36868814f97898ac2e254e12854e59b0d88169 100644 (file)
@@ -56,6 +56,10 @@ namespace Gtkmm2ext {
        LIBGTKMM2EXT_API void get_ink_pixel_size (Glib::RefPtr<Pango::Layout>, 
                                                  int& width, int& height);
        
+
+       LIBGTKMM2EXT_API void get_pixel_size (Glib::RefPtr<Pango::Layout>, 
+                                             int& width, int& height);
+       
        LIBGTKMM2EXT_API void set_size_request_to_display_given_text (Gtk::Widget &w,
                                                                      const gchar *text,
                                                                      gint hpadding,
@@ -104,6 +108,7 @@ namespace Gtkmm2ext {
        LIBGTKMM2EXT_API void rounded_top_half_rectangle (Cairo::RefPtr<Cairo::Context>, double x, double y, double w, double h, double r=10);
        LIBGTKMM2EXT_API void rounded_bottom_half_rectangle (Cairo::RefPtr<Cairo::Context>, double x, double y, double w, double h, double r=10);
        LIBGTKMM2EXT_API void rounded_right_half_rectangle (Cairo::RefPtr<Cairo::Context>, double x, double y, double w, double h, double r=10);
+       LIBGTKMM2EXT_API void rounded_left_half_rectangle (Cairo::RefPtr<Cairo::Context>, double x, double y, double w, double h, double r=10);
 
        /* C API for rounded rectangles */
 
@@ -114,6 +119,7 @@ namespace Gtkmm2ext {
        LIBGTKMM2EXT_API void rounded_top_half_rectangle (cairo_t*, double x, double y, double w, double h, double r=10);
        LIBGTKMM2EXT_API void rounded_bottom_half_rectangle (cairo_t*, double x, double y, double w, double h, double r=10);
        LIBGTKMM2EXT_API void rounded_right_half_rectangle (cairo_t*, double x, double y, double w, double h, double r=10);
+       LIBGTKMM2EXT_API void rounded_left_half_rectangle (cairo_t* cr, double x, double y, double w, double h, double r=10);
 
        LIBGTKMM2EXT_API Gtk::Label* left_aligned_label (std::string const &);
 
@@ -121,7 +127,8 @@ namespace Gtkmm2ext {
        LIBGTKMM2EXT_API void enable_tooltips ();
        LIBGTKMM2EXT_API void disable_tooltips ();
 
-       void convert_bgra_to_rgba (guint8 const *, guint8 * dst, int, int);
+       LIBGTKMM2EXT_API void convert_bgra_to_rgba (guint8 const *, guint8 * dst, int, int);
+       LIBGTKMM2EXT_API const char* event_type_string (int event_type);
 };
 
 #endif /*  __gtkmm2ext_utils_h__ */