Computer Science Canada [source code] Custom GUI |
Author: | Tony [ Sun Apr 20, 2003 12:43 am ] | ||||
Post subject: | [source code] Custom GUI | ||||
I'd like this thread to run the same way text effects does. If you have something to submit - do it here. An exelent way to fight boredem, start rewriting window's GUI in turing! To start things off, here's something tuirng's GUI defenatly missed -> Percentage Bar
Highly customizable. You use it the same way you use drawbox, just add additional parameter at the end - percentage as integer (where 50 means 50%) Ofcourse you can change the colors, size of boxes, etc. And here's the code to make the procedure run:
You can put it in a loop and watch it go up locate with a put is there just to show you how persantages go in reality and how it shows in reguard to the visual display. Oh, and in case you're wondering... Yes, it could go higher then 100%. The boxes break out of the box and just keep on going. If the fact that you placed a loading in your program to make it look cool doesnt piss off the users, making them wait till 200% sure will |
Author: | Tony [ Sun Apr 20, 2003 1:16 am ] | ||||
Post subject: | |||||
here's another simple one -> list Basically it just lists your array into a box placed where you want. It is dynamically sized so you just need x1,y1,x2 parameters + your array.
Once again, you can customize colors and fonts to suite your programming needs. Please note that alignmet was calculated for a size 12 font. Other values (the *15 one) needs to be adjusted if you change the font to align properly. Ofcourse here's the code to test it quickly
|
Author: | Catalyst [ Thu May 22, 2003 6:38 pm ] |
Post subject: | |
heres a button class and interface module it is set up so that it can be easily expanded upon note:314th post (woo pi) |
Author: | Tony [ Thu May 22, 2003 6:57 pm ] |
Post subject: | |
awesome.. looks much better (not to mention customazation options) then turing's GUI +20Bits |
Author: | Catalyst [ Thu May 22, 2003 11:39 pm ] |
Post subject: | |
updated the interface post, now has picture support (replace any fillcolor) and scales the picture to fit the button |
Author: | Homer_simpson [ Fri May 23, 2003 2:13 pm ] |
Post subject: | |
I had created some ccg before i will submit them when i get home |
Author: | Andy [ Sat Jun 07, 2003 6:40 pm ] |
Post subject: | |
well, its been 2 weeks, and i'm pretty sure ur home by now, so can we see ur ccg? |
Author: | Homer_simpson [ Sat Jun 07, 2003 10:53 pm ] | ||
Post subject: | |||
oops... i totally forgot about that... it aint completed but here it is :
I'm gonna turn it into a module,add some more things to it(radio, Textbox) and do some tutorials on it... Do u think it's worth it?! |
Author: | Catalyst [ Sun Jun 08, 2003 2:08 am ] |
Post subject: | |
i made some GUI a bit ago (no idea why) i only made buttons, and a menu i didnt put customization options into the menu tho (cant even choose,xy) they can be added pretty easily if needed |
Author: | Homer_simpson [ Sun Jun 08, 2003 3:22 am ] |
Post subject: | |
you had posted the same thing on this thread before... lol |
Author: | Catalyst [ Sun Jun 08, 2003 2:08 pm ] |
Post subject: | |
i am losing my mind..... i didnt have the menu tho |