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

Username:   Password: 
 RegisterRegister   
 Help on a few turing tricks
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
HaVoC




PostPosted: Tue Nov 18, 2003 8:22 pm   Post subject: Help on a few turing tricks

Is it possible to do this?

code:

var c : string


c:= black

drawline (x,y,x,y,c)


Where c is replaced by black so I don't have to conitinously write it in?
And How do you change the font and size of text?
Sponsor
Sponsor
Sponsor
sponsor
AsianSensation




PostPosted: Tue Nov 18, 2003 8:25 pm   Post subject: (No subject)

lol, the number "7" works for the color black

drawline (0, 0, maxx, maxy, 7)
HaVoC




PostPosted: Tue Nov 18, 2003 8:29 pm   Post subject: (No subject)

I just made c an integer and made c = 7. That worked. Anyways, what about font and and size?
Thuged_Out_G




PostPosted: Tue Nov 18, 2003 9:06 pm   Post subject: (No subject)

it should work using Font.Draw

if no one shows you, i will when i get a chance
HaVoC




PostPosted: Tue Nov 18, 2003 9:42 pm   Post subject: (No subject)

*Waits*
AsianSensation




PostPosted: Tue Nov 18, 2003 10:39 pm   Post subject: (No subject)

um........it's the same thing.

code:
Font.Draw ("Hello", fontID, 0, 0, 7)


whenever you see the parameter that calls for a color to be inputted, all you have to do is either use 7, or type black to use that color.
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  [ 6 Posts ]
Jump to:   


Style:  
Search: