RE: [WIN32LIB] Transparent Labels

new topic     » topic index » view thread      » older message » newer message

The first solution that popped into my mind when I read your message was
to make use of a back buffer. This would involve drawing all of your
text to a picture (pixmap?) in the background then copying that back
buffer to your window all at once. This would eliminate the flashing of
text labels for the most part.

It's less complicated than managing a fleet of semi-transparent floating
text labels, no?

~Tom

-----Original Message-----
From: Travis Beaty [mailto:t_beaty at mchsi.com] 
Sent: Monday, March 10, 2003 3:01 PM
To: EUforum
Subject: [WIN32LIB] Transparent Labels

Hello everyone!

I have a quick question.  I am working on a project, but not in Euphoria

due to the fact that I haven't been able to create a transparent label 
using win32lib.ew.  The basic idea is that the main form has, as a 
background, an image.  The labels are placed on top of this image, and 
ideally, the image would be seen through the label, so that the text 
would appear to be written directly on top of the background image. 
 Yes, I suppose I could use putsw to write the text directly on the form

using wPuts(), but I am worried about a "flashing" effect, as most of 
the text would need to be updated once per second, and a few every 1/8 
second, so this might be a little better achieved via a transparent 
label and setText().

I've been able to do this with Borland C++, using VCL and transparent 
labels, but I would much, MUCH rather write this application in
Euphoria.

Any ideas?


Travis Beaty
Mason City, Iowa

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu