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

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




PostPosted: Wed Dec 09, 2009 5:39 pm   Post subject: Text on Picture Help

What is it you are trying to achieve?
Have text on the picture without the white backing.

What is the problem you are having?
<img src="http://i263.photobucket.com/albums/ii129/neoalbert/TuringProblem.jpg" border="0" alt="Photobucket">
When using a picture and text at the same time, the text area is completely in white, with text on top.
We need the text to be in the text box at the bottom. It's not too much of a problem to move it there, but the white part will also move there. In addition, when we are inputting text, the white part will extend to where the text is. In an unrelated problem, we need to know how to enforce a limit to how much text the user can type.

Describe what you have tried to solve this problem
We've tried manually making the text on paint and pasting the picture using merge but that takes a lot and lot of time we don't have. Changing colours of the text does not help either.

Please specify what version of Turing you are using
Turing 4.1.1

P.S. And does anyone knows how to go through text (like after reading one block of text in a book and turning the page) just by clicking the screen or pressing one button?



Alan turing project.t
 Description:
I apologize for poor style. Blame my partner for that.

Download
 Filename:  Alan turing project.t
 Filesize:  18.21 KB
 Downloaded:  68 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Wed Dec 09, 2009 6:02 pm   Post subject: RE:Text on Picture Help

See -- Font.Draw
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
neobowman




PostPosted: Thu Dec 10, 2009 1:02 pm   Post subject: RE:Text on Picture Help

How about inputting? How do you get the input text to not have the white background?
Alternatively, we need to find out how clicking one key can act as an input function.
Tony




PostPosted: Thu Dec 10, 2009 3:01 pm   Post subject: RE:Text on Picture Help

You can use getch and noecho, so that the input text is read without being typed out on screen.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
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  [ 4 Posts ]
Jump to:   


Style:  
Search: