[winGRASS] More info on libW11

Mike Thomas miketh at brisbane.paradigmgeo.com
Tue Sep 11 01:48:41 EDT 2001


Hi again.

I had a go at libW11 - got the source and built it - no worries.  Tried the
XDRIVER, but discovered some limitations:

-------------------
Graph_set.c:

"X11/Xos.h" is not present (comes in via "includes.h", don't know what this
one is used for - commented out)

"X11/cursorfont.h" is an empty (dummy) header so "XC_crosshair" and
"XC_watch" are missing - set to zero .

Same with "X11/Xutil.h" - "IconPixmapHint" - commented out.

-----------------------
Serve_Xevent.c:

O_WR/RD/ONLY not defined - added "#include <sys/fcntl.h>"


-----------------------
These functions are missing at link time and from the headers:

XAllocSizeHints
XAllocWMHints
XAllocClassHint
XSetWindowColormap
XFreeColormap
BlackPixel
WhitePixel
XUndefineCursor
XDisplayName
XSetBackground
ConnectionNumber
XGetGCValues
XGetWMName
XSetWMName
XNoOp


It looks as though this might turn out to be another viable option for the
Win32 port display device assuming functionality is OK.

Has anyone some suggestions on how best to work around these missing
functions?

Cheers

Mike Thomas.




More information about the grass-windows mailing list