[comp.windows.x] Question on XBitmapBitsPut in X10

bchen@esvax.berkeley.edu (Benjamin Chen) (07/20/88)

XBitmapBitsPut(w,x,y, height, data, foreground, background, mask, func, planes)
	Window w;
	int x, y, width, height, foreground, background;
	short *data;
	Bitmap mask;
	int func;
	int planes;

I'm calling this function using GXcopy as the func.  The bitmap
gets drawn correctly, but no matter what pixels I specify
for the foreground and background color, it always paints it the
same color.  (bg specified on creation of the window) The foreground
always seems to be black.  Any clues?




Benjamin Chen
Office:   550-A4 Cory Hall, 2-4332
UUCP:     !ucbvax!esvax!bchen               
HEPNET:   LBL::"bchen@esvax.Berkeley.EDU"