[Xcb] Xlib: [X]BlackPixel()

Jamey Sharp jamey at minilop.net
Thu May 4 11:24:14 PDT 2006


On Thu, May 04, 2006 at 01:26:02PM +0200, Florent Monnier wrote:
> I'm a beginner and I hope this is the good place for this question (if not 
> please tell me).
> 
> What is the difference between BlackPixel() and XBlackPixel() ?

This is not the right place for this question, as it isn't related to
XCB. (XCB is an Xlib replacement.) I don't know where to suggest though.

The answer to your question, anyway, is that XBlackPixel is a function
that invokes the BlackPixel macro. From libX11/src/Macros.c:

unsigned long XBlackPixel(dpy, scr)
    Display *dpy; int scr;
        {       return (BlackPixel(dpy, scr)); }

--Jamey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20060504/ddaef928/attachment.pgp


More information about the Xcb mailing list