[vala] xcb: Add Xcb.Connection.create_pixmap



commit bebd0122514f22e5751525d6e794263ea1156cb2
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed May 14 15:06:15 2014 +1200

    xcb: Add Xcb.Connection.create_pixmap
    
    https://bugzilla.gnome.org/show_bug.cgi?id=730103

 vapi/xcb.vapi |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/vapi/xcb.vapi b/vapi/xcb.vapi
index d84290a..46b4ee5 100644
--- a/vapi/xcb.vapi
+++ b/vapi/xcb.vapi
@@ -121,6 +121,11 @@ namespace Xcb {
                public GetGeometryCookie get_geometry(Drawable drawable);
                public GetGeometryCookie get_geometry_unchecked(Drawable drawable);
                public GetGeometryReply ? get_geometry_reply(GetGeometryCookie cookie, out GenericError ? e);
+
+               public VoidCookie create_pixmap_checked (uint8 depth, Pixmap pid, Drawable drawable, uint16 
width, uint16 height);
+               public VoidCookie create_pixmap (uint8 depth, Pixmap pid, Drawable drawable, uint16 width, 
uint16 height);
+               public VoidCookie free_pixmap_checked (Pixmap pid);
+               public VoidCookie free_pixmap (Pixmap pid);
        }
 
        [CCode (cprefix = "XCB_CONN_", cname = "int", has_type_id = false)]
@@ -905,6 +910,11 @@ namespace Xcb {
        }
 
        [SimpleType]
+       [CCode (cname = "xcb_pixmap_t", has_type_id = false)]
+       public struct Pixmap : uint32 {
+       }
+
+       [SimpleType]
        [CCode (cname = "xcb_window_t", has_type_id = false)]
        public struct Window : uint32 {
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]