[wxPython-users] wx.Overlay

Christopher Barker Chris.Barker at noaa.gov
Wed Dec 19 15:44:05 PST 2007


Robin Dunn wrote:
> A while back I promised an example of using the wx.Overlay to assist 
> with drawing temporary things like rubber-band boxes over the top of 
> something else.

Very nice!

And right after you fixed the wx.XOR bug!

This still appears to use a wx.ClientDC. Does it not suffer from the 
issues with that we discussed a little while back?

In any case, it's prettier and easier to use.

 > in any colour you want,

This is still an issue -- if you don't know what colors may be on the 
screen, how do you make sure to get a contrasting color (at least 
without alpha, which, from your code, only appears to work on the Mac)?

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list