Path: utzoo!attcan!uunet!lll-winken!lll-lcc!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!esvax.berkeley.edu!bchen From: bchen@esvax.berkeley.edu (Benjamin Chen) Newsgroups: comp.windows.x Subject: Question on XBitmapBitsPut in X10 Message-ID: <25117@ucbvax.BERKELEY.EDU> Date: 19 Jul 88 23:35:22 GMT Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: bchen@esvax.berkeley.edu (Benjamin Chen) Distribution: na Organization: University of California, Berkeley Lines: 20 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"