delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/05/11/05:57:44

Date: Tue, 11 May 1993 10:14:58 GMT
From: gilliard AT lectra DOT fr ( Gilliard Laurent Pierre)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: bitmap brush with transparent colors

>How can we create bitmap brushes with one color (background)
>considered as a transparent color ?

Graphic cursors are ok for this.

But ??? how can i draw more than one same cursor on the screen ???

I've tried to draw cursor at x,y, then GrBitBlt(NULL,x,y,NULL,x,y,x+cursorWcursor,y+Hcursor),
but cursor seems to be erased before GrBitBlt.

How can i turn off this automatic detection with cursors?????

Thanks.

PS: In next version of LibGrx, a GrBitBlt with transparent mode option would be fine.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019