Home | Reviews | GUIpedia | Forum | Fun500


tacodrake95Buttons and Fonts
Cyclops now supports 8X8 fonts and multiple buttons(Up to 99 per window). you can change the time by clicking on it.
Cyclops Version 0.015 Source Included
2010-11-2911:47 PM

HorvatMRe:Buttons and Fonts
A good start. Some suggestions: You may want to declare the upper bound of the 'Btn' array as a CONST. Also, by default QB sets the lower bound of each array to 0, so if you DIM something with the dimensions '(100)' it'll give you 101 elements. Or you may want to make it $DYNAMIC to avoid wasting memory. The 'fonts' array is '(0 TO 255, 0 TO 20)' which would make sense if the font was 21 pixels high, but it's only 8. The Button.Add and FreeBtn procedures are nice. You may want to leave some blank space around the text of each button so it looks prettier and is easier to click on. get1 and put1: please delete your temporary files when you exit the program. time.change: don't hardcode graphics statements and colors; convert them to SUBs and CONSTs.
2010-11-3011:25 AM

tacodrake95Re:Buttons and Fonts
Thanks, i'll fix those, but what do you mean about the time.change graphics?
2010-11-307:11 PM

Blog


2021 Brandon Cornell