[gameprogrammer] Re: Overlay on windows and mac

This was a topic discussed on another mailing list quite a while ago.
I got a response from someone that explains how to do it.
I'll forward that email directly to you.
I doubt Bob would like it posted here, as it seems a little off topic to me.
Just send me the address to send it to, and I'll forward it along.

Kevin


From: "Seung Chan Lim" <list@xxxxxxxxxx>
Reply-To: gameprogrammer@xxxxxxxxxxxxx
To: <gameprogrammer@xxxxxxxxxxxxx>
Subject: [gameprogrammer] Overlay on windows and mac
Date: Mon, 30 Aug 2004 17:42:29 -0400

Hello all,

I'm trying to see if I could possibly a simple pice of code that can draw an
overlay
on the desktop read from an image like PNG, for example with alpha values.

The overlay will have to draw itself directly on top of the desktop and
erase itself
completely when I want it to. It should also not leave weird artifacts on
other windows.
I would also like to have the option of letting my mouse clicks go through
so that the
windows underneath will receive events. Of course, I'd also like to
intercept
events (i.e. clicks on my mage) if I choose to.

I'm assuming this is something that I'd have to use double buffering and
draw directly
onto the video hardware in order to do correctly?

Is this true? Are there any pointers you guys can point me to?

I'm looking for ways to do it both on windows and on mac, and they can use
compeltely different technologies (i.e. open GL or Direct X on windws and
some
native cocoa/carbon stuff on the mac, etc...)

any help would be greatly appreciated

thanks! :)

slim




---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html

_________________________________________________________________
MSN® Calendar keeps you organized and takes the effort out of scheduling 
get-togethers. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
 
  Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.



---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: