Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Transparency
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
pr0xiler




PostPosted: Wed Mar 02, 2005 11:04 pm   Post subject: Transparency

Does anyone know how to make the background of a text transparent...

as in colorback(transparent)... does anyone know how to make something like that work?

Thanks.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Wed Mar 02, 2005 11:48 pm   Post subject: (No subject)

you're looking for Font.Draw() function
pr0xiler




PostPosted: Wed Mar 02, 2005 11:50 pm   Post subject: re

not sure... I have a picture as a background in my program...
and when i use
put "text here"

the text becomes highlighted in whatever color colorback() is set to. Is there a way to set this so you can see the background thru the text?

Thankyou
Tony




PostPosted: Wed Mar 02, 2005 11:52 pm   Post subject: (No subject)

tony wrote:
you're looking for Font.Draw() function
pr0xiler




PostPosted: Thu Mar 03, 2005 12:20 am   Post subject: (No subject)

But you cant use put and get with Font.Draw...

http://relik.net/road.JPG

I wanna get the white spot the arrow is pointing to transparent... I still want to use the put statement to do this.
jamonathin




PostPosted: Thu Mar 03, 2005 6:55 am   Post subject: (No subject)

The only thing you can do is use Font.Draw (like tony said...twice..) or just when you put something do this. (two dots)
code:

put "blah blah fart?" ..
Bacchus




PostPosted: Thu Mar 03, 2005 7:03 am   Post subject: (No subject)

yes use Font.Draw like tony said, it has a transparent background and if you need to use get, you still can. just set it to noecho in the setscreen
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: