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

Username:   Password: 
 RegisterRegister   
 My GUI box
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
MrAndrews




PostPosted: Sun Jun 22, 2008 9:14 pm   Post subject: My GUI box

I made this program to be a procedure that i could stick into a trivia game. The user would read the question, and use the arrow keys to select their answer from the boxes instead of typing it in. Any suggestions about ways to improve would be great.


Custom GUI 1.t
 Description:

Download
 Filename:  Custom GUI 1.t
 Filesize:  3.74 KB
 Downloaded:  196 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
SNIPERDUDE




PostPosted: Sun Jun 22, 2008 9:46 pm   Post subject: RE:My GUI box

I like the look of the box, just a few things:

1) use Time.DelaySinceLast (i think it's that, been a while) to make the selection not so sensitive

2)shorten the height of the boxes by maybe just a few pixels (just seems a bit to high, just an opinion)

3) use Font.Draw instead of put and center the text in the boxes (more achievable in using the Font Functions (ex: Font.Width to figure it out))

But pretty cool start. Really nice actually, one of the better quiz interfaces I've seen.

Just a note, if you switch to the Font functions, it would be better to switch all together to set it to graphics mode.
MrAndrews




PostPosted: Sun Jun 22, 2008 10:54 pm   Post subject: RE:My GUI box

Thanks for the tips

1) ill look into Time.DelaySinceLast.

2) i would need to add several lines for converting values from real to int, (because the length of each box is double the height and i could make it 2.3x or whatever) but maybe sometime when i am not as tired. (although the time on this post is almost 11:00, its actually midnight where i am Sleeping )

3)How would i center using Font.Draw? i never actually learned much about that one.

again thanks for the input
SNIPERDUDE




PostPosted: Mon Jun 23, 2008 6:59 am   Post subject: RE:My GUI box

to center Font.Draw you would use Font.Width to figure out the length of it.

just look it up! (I don't have turing on this comp to give an example)
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: