2001-07-09 09:46:22 -04:00
|
|
|
;;; Helper functions
|
|
|
|
|
|
|
|
(define-interface xlib-helper-interface
|
- changed variable arguments and return values in set-wm-hints!,
get-wm-hints, set-wm-normal-hints!, get-wm-normal-hints,
create-gcontext, change-gcontext, get-visual-info,
change-window-attributes, get-window-attributes, configure-window,
create-window to use an enumerated type instead of symbols.
- renamed functions in xlib-client (e.g. wm-hints to get-wm-hints).
2002-01-06 11:53:13 -05:00
|
|
|
(export make-enum-alist->vector
|
|
|
|
make-vector->enum-alist
|
2001-07-09 09:46:22 -04:00
|
|
|
none-resource?
|
|
|
|
none-resource
|
|
|
|
alist-split
|
|
|
|
vector-map!))
|
|
|
|
|
2001-07-11 11:18:32 -04:00
|
|
|
;; these are internal interfaces that describe the construction and access
|
2001-07-09 09:46:22 -04:00
|
|
|
;; functions to all the new datatypes. They are not needed by the user
|
|
|
|
|
2002-02-08 12:09:43 -05:00
|
|
|
(define-interface xlib-internal-types-interface
|
|
|
|
(export
|
|
|
|
|
|
|
|
display? make-display display-Xdisplay display-after-function
|
|
|
|
display-set-after-function! close-display display-message-inport
|
|
|
|
|
|
|
|
window? make-window destroy-window window-Xwindow window-display
|
|
|
|
|
|
|
|
drawable? make-drawable drawable-abstraction drawable-display
|
|
|
|
drawable-Xobject
|
|
|
|
|
|
|
|
color? internal-make-color extract-rgb-values create-color color-Xcolor
|
|
|
|
|
|
|
|
colormap? make-colormap free-colormap colormap-display colormap-Xcolormap
|
|
|
|
|
|
|
|
pixel? make-pixel pixel-Xpixel
|
|
|
|
|
|
|
|
gcontext? make-gcontext free-gcontext gcontext? gcontext-display
|
|
|
|
gcontext-Xgcontext
|
|
|
|
|
|
|
|
pixmap? make-pixmap free-pixmap pixmap-Xpixmap pixmap-display
|
|
|
|
|
|
|
|
font? make-font font-Xfont font-Xfontstruct font-display font-name
|
|
|
|
load-font open-font unload-font close-font
|
|
|
|
|
|
|
|
atom? make-atom atom-Xatom intern-atom
|
|
|
|
|
|
|
|
cursor? make-cursor cursor-display cursor-Xcursor free-cursor
|
|
|
|
|
|
|
|
visual? make-visual visual-Xvisual
|
|
|
|
|
|
|
|
region? make-region destroy-region region-Xregion
|
|
|
|
|
|
|
|
((event-mask) :syntax) event-mask-all-events
|
|
|
|
integer->event-mask event-mask->integer
|
|
|
|
|
|
|
|
integer->state-set state-set->integer
|
|
|
|
integer->button button->integer
|
|
|
|
integer->is-hint? is-hint?->integer
|
|
|
|
integer->notify-mode notify-mode->integer
|
|
|
|
integer->notify-detail notify-detail->integer
|
|
|
|
integer->visibility-state visibility-state->integer
|
|
|
|
integer->place place->integer
|
|
|
|
integer->property-state property-state->integer
|
|
|
|
integer->colormap-state colormap-state->integer
|
|
|
|
integer->mapping-request mapping-request->integer
|
|
|
|
|
|
|
|
((state state-set button notify-mode notify-detail
|
|
|
|
visibility-state place property-state colormap-state
|
|
|
|
mapping-request bit-gravity gravity backing-store) :syntax)
|
|
|
|
|
|
|
|
gravity->integer integer->gravity
|
|
|
|
|
|
|
|
make-enum-alist->integer+vector
|
|
|
|
make-integer+vector->enum-alist
|
|
|
|
make-integer->enum-set make-enum-set->integer
|
|
|
|
|
|
|
|
set-window-attribute-alist->integer+vector
|
|
|
|
((set-window-attribute make-set-window-attribute-alist) :syntax)
|
|
|
|
|
|
|
|
((window-change make-window-change-alist stack-mode) :syntax)
|
|
|
|
window-change-alist->integer+vector integer+vector->window-change-alist
|
|
|
|
|
|
|
|
((window-attribute make-window-attribute-alist) :syntax)
|
|
|
|
integer+vector->window-attribute-alist
|
|
|
|
|
|
|
|
((window-class) :syntax)
|
|
|
|
|
|
|
|
((byte-order bit-order) :syntax)
|
|
|
|
integer->byte-order integer->bit-order
|
|
|
|
|
|
|
|
((fill-rule) :syntax)
|
|
|
|
fill-rule->integer integer->fill-rule
|
|
|
|
|
- changed variable arguments and return values in set-wm-hints!,
get-wm-hints, set-wm-normal-hints!, get-wm-normal-hints,
create-gcontext, change-gcontext, get-visual-info,
change-window-attributes, get-window-attributes, configure-window,
create-window to use an enumerated type instead of symbols.
- renamed functions in xlib-client (e.g. wm-hints to get-wm-hints).
2002-01-06 11:53:13 -05:00
|
|
|
))
|