2001-07-09 09:46:22 -04:00
|
|
|
(define-structure xlib-display xlib-display-interface
|
|
|
|
(open scheme
|
2001-08-21 11:15:34 -04:00
|
|
|
signals ;; for error
|
2001-07-09 09:46:22 -04:00
|
|
|
external-calls
|
|
|
|
xlib-types)
|
|
|
|
(files display))
|
|
|
|
|
|
|
|
(define-structure xlib-window xlib-window-interface
|
|
|
|
(open scheme
|
2001-08-21 11:15:34 -04:00
|
|
|
signals ;; for error
|
2001-07-09 09:46:22 -04:00
|
|
|
external-calls
|
|
|
|
receiving
|
|
|
|
xlib-types
|
|
|
|
xlib-graphics ;; for clear-window
|
|
|
|
)
|
|
|
|
(files window))
|
|
|
|
|
|
|
|
|
|
|
|
(define-structure xlib-drawable xlib-drawable-interface
|
|
|
|
(open scheme
|
2001-08-21 11:15:34 -04:00
|
|
|
external-calls
|
2001-07-09 09:46:22 -04:00
|
|
|
xlib-types
|
|
|
|
xlib-window
|
|
|
|
xlib-pixmap)
|
|
|
|
(files drawable))
|
|
|
|
|
|
|
|
|
|
|
|
(define-structure xlib-color xlib-color-interface
|
|
|
|
(open scheme
|
2001-08-21 11:15:34 -04:00
|
|
|
signals ;; for error
|
2001-07-09 09:46:22 -04:00
|
|
|
external-calls
|
|
|
|
xlib-types)
|
|
|
|
(files color))
|
|
|
|
|
|
|
|
|
|
|
|
(define-structure xlib-colormap xlib-colormap-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
|
|
|
xlib-types)
|
|
|
|
(files colormap))
|
|
|
|
|
|
|
|
|
|
|
|
(define-structure xlib-pixel xlib-pixel-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
|
|
|
xlib-types)
|
|
|
|
(files pixel))
|
|
|
|
|
|
|
|
|
|
|
|
(define-structure xlib-gcontext xlib-gcontext-interface
|
|
|
|
(open scheme
|
2001-08-21 11:15:34 -04:00
|
|
|
signals ;; for error
|
2001-07-09 09:46:22 -04:00
|
|
|
external-calls
|
|
|
|
receiving
|
|
|
|
xlib-types)
|
|
|
|
(files gcontext))
|
|
|
|
|
|
|
|
|
|
|
|
(define-structure xlib-pixmap xlib-pixmap-interface
|
|
|
|
(open scheme
|
2001-08-21 11:15:34 -04:00
|
|
|
signals ;; for error
|
2001-07-09 09:46:22 -04:00
|
|
|
external-calls
|
|
|
|
xlib-types)
|
2001-08-21 11:15:34 -04:00
|
|
|
(files pixmap)) ;;...
|
2001-07-09 09:46:22 -04:00
|
|
|
|
|
|
|
(define-structure xlib-graphics xlib-graphics-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
2001-10-30 09:31:36 -05:00
|
|
|
xlib-types
|
|
|
|
list-lib ;; for fold-right
|
|
|
|
)
|
2001-07-09 09:46:22 -04:00
|
|
|
(files graphics))
|
|
|
|
|
|
|
|
(define-structure xlib-event xlib-event-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
2001-10-09 11:51:33 -04:00
|
|
|
threads ;; for sleep
|
2001-07-09 09:46:22 -04:00
|
|
|
xlib-types)
|
|
|
|
(files event))
|
|
|
|
|
2001-08-21 11:15:34 -04:00
|
|
|
(define-structure xlib-font xlib-font-interface
|
|
|
|
(open scheme
|
|
|
|
signals ;; for error
|
|
|
|
external-calls
|
2001-10-30 09:31:36 -05:00
|
|
|
xlib-types
|
|
|
|
bitwise ;; for bitwise-and, arithmetix-shift
|
|
|
|
)
|
2001-08-21 11:15:34 -04:00
|
|
|
(files font))
|
|
|
|
|
|
|
|
(define-structure xlib-text xlib-text-interface
|
|
|
|
(open scheme
|
|
|
|
signals ;; for error
|
|
|
|
external-calls
|
|
|
|
ascii ;; for char->ascii etc.
|
|
|
|
xlib-types)
|
|
|
|
(files text))
|
|
|
|
|
|
|
|
(define-structure xlib-property xlib-property-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
|
|
|
xlib-types)
|
|
|
|
(files property))
|
|
|
|
|
|
|
|
(define-structure xlib-cursor xlib-cursor-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
|
|
|
xlib-types)
|
|
|
|
(files cursor))
|
2001-07-09 09:46:22 -04:00
|
|
|
|
2001-08-21 11:15:34 -04:00
|
|
|
(define-structure xlib-wm xlib-wm-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
|
|
|
xlib-types
|
2001-10-30 09:31:36 -05:00
|
|
|
signals ;; for error
|
2001-08-21 11:15:34 -04:00
|
|
|
)
|
|
|
|
(files wm))
|
|
|
|
|
|
|
|
(define-structure xlib-client xlib-client-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
|
|
|
xlib-types
|
|
|
|
xlib-display ;; for check-screen-number
|
2001-10-30 09:31:36 -05:00
|
|
|
signals ;; for error
|
2001-08-21 11:15:34 -04:00
|
|
|
)
|
|
|
|
(files client))
|
2001-07-09 09:46:22 -04:00
|
|
|
|
2001-08-22 07:51:35 -04:00
|
|
|
(define-structure xlib-key xlib-key-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
|
|
|
xlib-types)
|
|
|
|
(files key))
|
|
|
|
|
2001-08-29 10:49:31 -04:00
|
|
|
(define-structure xlib-error xlib-error-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
|
|
|
xlib-types)
|
|
|
|
(files error))
|
|
|
|
|
|
|
|
(define-structure xlib-extension xlib-extension-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
|
|
|
xlib-types)
|
|
|
|
(files extension))
|
|
|
|
|
|
|
|
(define-structure xlib-utility xlib-utility-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
|
|
|
receiving
|
|
|
|
xlib-types
|
|
|
|
xlib-display
|
|
|
|
xlib-property)
|
|
|
|
(files utility))
|
|
|
|
|
|
|
|
(define-structure xlib-grab xlib-grab-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
|
|
|
xlib-types)
|
|
|
|
(files grab))
|
|
|
|
|
2001-09-20 10:41:01 -04:00
|
|
|
(define-structure xlib-visual xlib-visual-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
|
|
|
xlib-types)
|
|
|
|
(files visual))
|
|
|
|
|
2001-09-25 08:56:15 -04:00
|
|
|
(define-structure xlib-region xlib-region-interface
|
|
|
|
(open scheme
|
|
|
|
external-calls
|
|
|
|
xlib-types)
|
|
|
|
(files region))
|
|
|
|
|
2001-07-09 09:46:22 -04:00
|
|
|
;; all together
|
|
|
|
|
|
|
|
(define-structure xlib xlib-interface
|
|
|
|
(open xlib-display
|
|
|
|
xlib-pixmap
|
|
|
|
xlib-window
|
2001-08-21 11:15:34 -04:00
|
|
|
xlib-drawable
|
2001-07-09 09:46:22 -04:00
|
|
|
xlib-color
|
|
|
|
xlib-colormap
|
|
|
|
xlib-pixel
|
|
|
|
xlib-gcontext
|
|
|
|
xlib-graphics
|
2001-08-21 11:15:34 -04:00
|
|
|
xlib-event
|
|
|
|
xlib-font
|
|
|
|
xlib-text
|
|
|
|
xlib-property
|
|
|
|
xlib-cursor
|
|
|
|
xlib-wm
|
|
|
|
xlib-client
|
2001-08-22 07:51:35 -04:00
|
|
|
xlib-key
|
2001-08-29 10:49:31 -04:00
|
|
|
xlib-error
|
|
|
|
xlib-extension
|
|
|
|
xlib-utility
|
|
|
|
xlib-grab
|
2001-09-20 10:41:01 -04:00
|
|
|
xlib-visual
|
2001-09-25 08:56:15 -04:00
|
|
|
xlib-region
|
2001-08-21 11:15:34 -04:00
|
|
|
)
|
2001-08-29 10:49:31 -04:00
|
|
|
(optimize auto-integrate))
|