Update of /project/mcclim/cvsroot/mcclim/Backends/gtkairo In directory clnet:/tmp/cvs-serv14410
Modified Files: ffi.lisp Log Message: Sort ffi.lisp alphabetically.
--- /project/mcclim/cvsroot/mcclim/Backends/gtkairo/ffi.lisp 2006/11/19 15:55:09 1.1 +++ /project/mcclim/cvsroot/mcclim/Backends/gtkairo/ffi.lisp 2006/11/19 17:21:47 1.2 @@ -2,6 +2,38 @@
(in-package :clim-gtkairo)
+(cffi:defcstruct Depth + (depth :int) ;int + (nvisuals :int) ;int + (visuals :pointer) ;Visual * + ) + +(defcenum GConnectFlags + (:G_CONNECT_AFTER 1) + :G_CONNECT_SWAPPED) + +(defcenum GdkCrossingMode + :GDK_CROSSING_NORMAL + :GDK_CROSSING_GRAB + :GDK_CROSSING_UNGRAB) + +(defcenum GdkDragAction + (:GDK_ACTION_DEFAULT 1) + :GDK_ACTION_COPY + (:GDK_ACTION_MOVE 4) + (:GDK_ACTION_LINK 8) + (:GDK_ACTION_PRIVATE 16) + (:GDK_ACTION_ASK 32)) + +(defcenum GdkDragProtocol + :GDK_DRAG_PROTO_MOTIF + :GDK_DRAG_PROTO_XDND + :GDK_DRAG_PROTO_ROOTWIN + :GDK_DRAG_PROTO_NONE + :GDK_DRAG_PROTO_WIN32_DROPFILES + :GDK_DRAG_PROTO_OLE2 + :GDK_DRAG_PROTO_LOCAL) + (defcenum GdkEventMask (:GDK_EXPOSURE_MASK 2) (:GDK_POINTER_MOTION_MASK 4) @@ -26,23 +58,6 @@ (:GDK_SCROLL_MASK 2097152) (:GDK_ALL_EVENTS_MASK 4194302))
-(defcenum GdkWindowHints - (:GDK_HINT_POS 1) - :GDK_HINT_MIN_SIZE - (:GDK_HINT_MAX_SIZE 4) - (:GDK_HINT_BASE_SIZE 8) - (:GDK_HINT_ASPECT 16) - (:GDK_HINT_RESIZE_INC 32) - (:GDK_HINT_WIN_GRAVITY 64) - (:GDK_HINT_USER_POS 128) - (:GDK_HINT_USER_SIZE 256)) - -(cffi:defcstruct Depth - (depth :int) ;int - (nvisuals :int) ;int - (visuals :pointer) ;Visual * - ) - (defcenum GdkEventType (:GDK_NOTHING -1) :GDK_DELETE @@ -82,43 +97,6 @@ :GDK_OWNER_CHANGE :GDK_GRAB_BROKEN)
-(defcenum GdkModifierType - (:GDK_SHIFT_MASK 1) - :GDK_LOCK_MASK - (:GDK_CONTROL_MASK 4) - (:GDK_MOD1_MASK 8) - (:GDK_MOD2_MASK 16) - (:GDK_MOD3_MASK 32) - (:GDK_MOD4_MASK 64) - (:GDK_MOD5_MASK 128) - (:GDK_BUTTON1_MASK 256) - (:GDK_BUTTON2_MASK 512) - (:GDK_BUTTON3_MASK 1024) - (:GDK_BUTTON4_MASK 2048) - (:GDK_BUTTON5_MASK 4096) - (:GDK_RELEASE_MASK 1073741824) - (:GDK_MODIFIER_MASK 1073750015)) - -(defcenum GtkStateType - :GTK_STATE_NORMAL - :GTK_STATE_ACTIVE - :GTK_STATE_PRELIGHT - :GTK_STATE_SELECTED - :GTK_STATE_INSENSITIVE) - -(defcenum GdkDragAction - (:GDK_ACTION_DEFAULT 1) - :GDK_ACTION_COPY - (:GDK_ACTION_MOVE 4) - (:GDK_ACTION_LINK 8) - (:GDK_ACTION_PRIVATE 16) - (:GDK_ACTION_ASK 32)) - -(defcenum GdkCrossingMode - :GDK_CROSSING_NORMAL - :GDK_CROSSING_GRAB - :GDK_CROSSING_UNGRAB) - (defcenum GdkFunction :GDK_COPY :GDK_INVERT @@ -137,14 +115,29 @@ :GDK_NOR :GDK_SET)
-(defcenum GdkDragProtocol - :GDK_DRAG_PROTO_MOTIF - :GDK_DRAG_PROTO_XDND - :GDK_DRAG_PROTO_ROOTWIN - :GDK_DRAG_PROTO_NONE - :GDK_DRAG_PROTO_WIN32_DROPFILES - :GDK_DRAG_PROTO_OLE2 - :GDK_DRAG_PROTO_LOCAL) +(defcenum GdkGrabStatus + :GDK_GRAB_SUCCESS + :GDK_GRAB_ALREADY_GRABBED + :GDK_GRAB_INVALID_TIME + :GDK_GRAB_NOT_VIEWABLE + :GDK_GRAB_FROZEN) + +(defcenum GdkModifierType + (:GDK_SHIFT_MASK 1) + :GDK_LOCK_MASK + (:GDK_CONTROL_MASK 4) + (:GDK_MOD1_MASK 8) + (:GDK_MOD2_MASK 16) + (:GDK_MOD3_MASK 32) + (:GDK_MOD4_MASK 64) + (:GDK_MOD5_MASK 128) + (:GDK_BUTTON1_MASK 256) + (:GDK_BUTTON2_MASK 512) + (:GDK_BUTTON3_MASK 1024) + (:GDK_BUTTON4_MASK 2048) + (:GDK_BUTTON5_MASK 4096) + (:GDK_RELEASE_MASK 1073741824) + (:GDK_MODIFIER_MASK 1073750015))
(defcenum GdkNotifyType :GDK_NOTIFY_ANCESTOR @@ -154,13 +147,16 @@ :GDK_NOTIFY_NONLINEAR_VIRTUAL :GDK_NOTIFY_UNKNOWN)
-(defcenum GtkWindowType - :GTK_WINDOW_TOPLEVEL - :GTK_WINDOW_POPUP) - -(defcenum GConnectFlags - (:G_CONNECT_AFTER 1) - :G_CONNECT_SWAPPED) +(defcenum GdkWindowHints + (:GDK_HINT_POS 1) + :GDK_HINT_MIN_SIZE + (:GDK_HINT_MAX_SIZE 4) + (:GDK_HINT_BASE_SIZE 8) + (:GDK_HINT_ASPECT 16) + (:GDK_HINT_RESIZE_INC 32) + (:GDK_HINT_WIN_GRAVITY 64) + (:GDK_HINT_USER_POS 128) + (:GDK_HINT_USER_SIZE 256))
(defcenum GtkScrollType :GTK_SCROLL_NONE @@ -180,6 +176,24 @@ :GTK_SCROLL_START :GTK_SCROLL_END)
+(defcenum GtkSelectionMode + :GTK_SELECTION_NONE + :GTK_SELECTION_SINGLE + :GTK_SELECTION_BROWSE + :GTK_SELECTION_MULTIPLE + (:GTK_SELECTION_EXTENDED 3)) + +(defcenum GtkStateType + :GTK_STATE_NORMAL + :GTK_STATE_ACTIVE + :GTK_STATE_PRELIGHT + :GTK_STATE_SELECTED + :GTK_STATE_INSENSITIVE) + +(defcenum GtkWindowType + :GTK_WINDOW_TOPLEVEL + :GTK_WINDOW_POPUP) + (cffi:defcstruct Screen (ext_data :pointer) ;XExtData * (display :pointer) ;struct _XDisplay * @@ -203,65 +217,69 @@ (root_input_mask :long) ;long int )
-(defcenum GdkGrabStatus - :GDK_GRAB_SUCCESS - :GDK_GRAB_ALREADY_GRABBED - :GDK_GRAB_INVALID_TIME - :GDK_GRAB_NOT_VIEWABLE - :GDK_GRAB_FROZEN) - -(defcenum GtkSelectionMode - :GTK_SELECTION_NONE - :GTK_SELECTION_SINGLE - :GTK_SELECTION_BROWSE - :GTK_SELECTION_MULTIPLE - (:GTK_SELECTION_EXTENDED 3)) - -(defcfun "gtk_check_button_new_with_label" - :pointer - (label :string) ;const gchar * +(defcfun "cairo_arc" + :void + (arg0 :pointer) ;cairo_t * + (arg1 :double) ;double + (arg2 :double) ;double + (arg3 :double) ;double + (arg4 :double) ;double + (arg5 :double) ;double )
-(defcfun "cairo_set_matrix" +(defcfun "cairo_arc_negative" :void (arg0 :pointer) ;cairo_t * - (arg1 :pointer) ;const cairo_matrix_t * + (arg1 :double) ;double + (arg2 :double) ;double + (arg3 :double) ;double + (arg4 :double) ;double + (arg5 :double) ;double )
-(defcfun "gdk_screen_get_width" - :int - (screen :pointer) ;GdkScreen * +(defcfun "cairo_clip" + :void + (arg0 :pointer) ;cairo_t * )
-(defcfun "gtk_widget_size_request" +(defcfun "cairo_copy_page" :void - (widget :pointer) ;GtkWidget * - (requisition :pointer) ;GtkRequisition * + (arg0 :pointer) ;cairo_t * )
-(defcfun "cairo_line_to" +(defcfun "cairo_create" + :pointer + (arg0 :pointer) ;cairo_surface_t * + ) + +(defcfun "cairo_curve_to" :void (arg0 :pointer) ;cairo_t * (arg1 :double) ;double (arg2 :double) ;double + (arg3 :double) ;double + (arg4 :double) ;double + (arg5 :double) ;double + (arg6 :double) ;double )
-(defcfun "gtk_init" +(defcfun "cairo_destroy" :void - (argc :pointer) ;int * - (argv :pointer) ;char *** + (arg0 :pointer) ;cairo_t * )
-(defcfun "gdk_window_get_root_origin" +(defcfun "cairo_fill" :void - (window :pointer) ;GdkWindow * - (x :pointer) ;gint * - (y :pointer) ;gint * + (arg0 :pointer) ;cairo_t * )
-(defcfun "cairo_reference" - :pointer +(defcfun "cairo_fill_extents" + :void (arg0 :pointer) ;cairo_t * + (arg1 :pointer) ;double * + (arg2 :pointer) ;double * + (arg3 :pointer) ;double * + (arg4 :pointer) ;double * )
(defcfun "cairo_font_extents" @@ -270,37 +288,19 @@ (arg1 :pointer) ;cairo_font_extents_t * )
-(defcfun "g_signal_connect_data" - :unsigned-long - (instance :pointer) ;gpointer - (detailed_signal :string) ;const gchar * - (c_handler :pointer) ;GCallback - (data :pointer) ;gpointer - (destroy_data :pointer) ;GClosureNotify - (connect_flags GConnectFlags)) - -(defcfun "gdk_screen_get_height_mm" - :int - (screen :pointer) ;GdkScreen * +(defcfun "cairo_font_face_status" + cairo_status_t + (arg0 :pointer) ;cairo_font_face_t * )
-(defcfun "cairo_surface_create_similar" +(defcfun "cairo_get_font_face" :pointer - (arg0 :pointer) ;cairo_surface_t * - (arg1 cairo_content_t) - (arg2 :int) ;int - (arg3 :int) ;int + (arg0 :pointer) ;cairo_t * )
-(defcfun "gtk_adjustment_set_value" - :void - (adjustment :pointer) ;GtkAdjustment * - (value :double) ;gdouble - ) - -(defcfun "cairo_pattern_reference" - :pointer - (arg0 :pointer) ;cairo_pattern_t * +(defcfun "cairo_get_target" + :pointer + (arg0 :pointer) ;cairo_t * )
(defcfun "cairo_glyph_extents" @@ -311,151 +311,196 @@ (arg3 :pointer) ;cairo_text_extents_t * )
-(defcfun "gtk_widget_hide_all" +(defcfun "cairo_glyph_path" :void - (widget :pointer) ;GtkWidget * + (arg0 :pointer) ;cairo_t * + (arg1 :pointer) ;cairo_glyph_t * + (arg2 :int) ;int )
-(defcfun "gtk_widget_destroy" +(defcfun "cairo_identity_matrix" :void - (widget :pointer) ;GtkWidget * + (arg0 :pointer) ;cairo_t * )
-(defcfun "gtk_tree_view_new_with_model" +(defcfun "cairo_image_surface_create" :pointer - (model :pointer) ;GtkTreeModel * + (arg0 cairo_format_t) + (arg1 :int) ;int + (arg2 :int) ;int )
-(defcfun "gdk_display_flush" - :void - (display :pointer) ;GdkDisplay * +(defcfun "cairo_image_surface_create_for_data" + :pointer + (arg0 :string) ;unsigned char * + (arg1 cairo_format_t) + (arg2 :int) ;int + (arg3 :int) ;int + (arg4 :int) ;int )
-(defcfun "gtk_tree_view_column_add_attribute" - :void - (tree_column :pointer) ;GtkTreeViewColumn * - (cell_renderer :pointer) ;GtkCellRenderer * - (attribute :string) ;const gchar * - (column :int) ;gint +(defcfun "cairo_in_fill" + :int + (arg0 :pointer) ;cairo_t * + (arg1 :double) ;double + (arg2 :double) ;double )
[1529 lines skipped]