Re: [racket] Transparent area's

2010-10-25 Thread Noel Welsh
I'm guessing this is a limitation of the current windowing toolkit. There is a new toolkit under development here: http://github.com/mflatt/gr2 I'm going to look at transparency support in the new toolkit, but it will take me a while to find the time. HTH, N. BTW, Racket doesn't use CamelCase.

Re: [racket] Transparent area's

2010-10-25 Thread Matthew Flatt
Both in the old and new toolboxes, you can make a transparent canvas using the 'transparent style when you create the `canvas%' object. If I understand the issue, though, putting a `button%' instance on top of a `canvas%' doesn't really work in either toolbox. Also, neither toolbox currently lets

Re: [racket] Transparent area's

2010-10-25 Thread Noel Welsh
Thanks for clearing that up. N. On Mon, Oct 25, 2010 at 2:17 PM, Matthew Flatt mfl...@cs.utah.edu wrote: Both in the old and new toolboxes, you can make a transparent canvas using the 'transparent style when you create the `canvas%' object. If I understand the issue, though, putting a

Re: [racket] Transparent area's

2010-10-25 Thread Christophe Vandenberghe
for the reply. Cheers, Chris -Original Message- From: Matthew Flatt [mailto:mfl...@cs.utah.edu] Sent: maandag 25 oktober 2010 15:17 To: Noel Welsh Cc: Christophe Vandenberghe; users@racket-lang.org Subject: Re: [racket] Transparent area's Both in the old and new toolboxes, you can make

Re: [racket] Transparent area's

2010-10-20 Thread Noel Welsh
Hi, My recollection is that the current graphics toolkit has limited support for transparency, but it should work for drawing text on an image. Can you send a small example illustrating the problem? Cheers, N. On Mon, Oct 18, 2010 at 2:07 PM, Christophe Vandenberghe chv...@gmail.com wrote: I

[racket] Transparent area's

2010-10-18 Thread Christophe Vandenberghe
I am fairly new to scheme and I have been experimenting with the Graphics Toolkit from Racket. I am trying to work with a background image and have everything else be on top of that image. The problem is that most area's come with a grey background that I can't seem to get rid of. So what I