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

Date: Tue, 11 May 1993 11:27:31 GMT
From: gilliard AT lectra DOT fr ( Gilliard Laurent Pierre)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Pixmap with transparent colors

I ask to myself, and to the others (if they are interested)

You create a cursor from a pixmap
DisplayCursor(x,y)
BitBlt(TmpContext,0,0,NULL,x,y,x+w,y+h)
EraseCursor()
BitBlt(NULL,x,y,TmpContext,0,0,w,y)

So you can draw one pixmap with transparent color (or several pixmaps with...) on
the same screen.

It's a heavy heavy way, but it works.

- Raw text -


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