REF XCursors A.Schoter, August 1991 COPYRIGHT University of Sussex 1991. All Rights Reserved. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<< X CURSORS >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< The procedures described in this REF file implement the equivalent Xlib C functions for cursor management. --------------------- 1 List of procedures --------------------- The procedures below are made available by doing: uses xlib, XCursors; For details see: Xlib - C Language X Interface, MIT X Consortium Standard, X Version 11, Release 4 Copyright (C) 1985, 1986, 1987, 1988, 1989 Massachusetts Institute of Technology, Cambridge, Massachusetts, and Digital Equipment Corporation, Maynard, Massachusetts. XCreatePixmapCursor(DspPtr,xid1,xid2,XColorPtr1, [procedure] XColorPtr2, uint1,uint2) -> ulong3 Creates a cursor out of its component parts from data in the calling program. The cursor pixmap is specified by xid1 and the mask pixmap is specified by xid2, XColorPtr1 specifies the foreground colour and XColorPtr2 specifies the background colour, and uint1 and uint2 specify the x and y co-ordinates of the cursor's hot spot. XDefineCursor(DspPtr,xid1,xid2) [procedure] The cursor specified by xid2, will be used when the mouse is in the window specified by xid1. XUndefineCursor(DspPtr,xid) [procedure] XUndefineCursor undoes the effect of a previous XDefineCursor for the window specified by the xid. When the mouse is in the window, the parent's cursor will now be used. On the root window, with no cursor specified, the default cursor is restored. XFreeCursor(DspPtr,xid) [procedure] The cursor specified by the xid is destroyed. It should not be referred to again or an error will be generated. XCreateFontCursor(DspPtr,uint) -> xid [procedure] XCreateGlyphCursor(DspPtr,xid1,xid2,uint1,uint2, [procedure] XColorPtr1,XColorPtr2) -> xid3 XRecolorCursor(DspPtr,xid,XColorPtr1,XColorPtr2) [procedure] XQueryBestCursor(DspPtr,xid,uint1,uint2,uintptr1, [procedure] uintptr2) -> int These procedures implement the equivalent C functions. --- C.x/x/pop/ref/XCursors --- Copyright University of Sussex 1991. All rights reserved.