by Roody_Yogurt » Mon May 17, 2004 3:24 pm
Oops, reading that again and looking at the Zork example, I see that's only a status bar thing and wouldn't help here at all.
Seems like one has to do it by hand. Kent says, "Basically you do it in the non-proportional font, figure out the length of the string, and 'locate x' where x = display.screenwidth/2 - string_length/2."
Another way to do it is to use the window.h library to make a window, clear it to the color you want, and print or put graphics in it, I guess.
I haven't tried any of this.
Oops, reading that again and looking at the Zork example, I see that's only a status bar thing and wouldn't help here at all.
Seems like one has to do it by hand. Kent says, "Basically you do it in the non-proportional font, figure out the length of the string, and 'locate x' where x = display.screenwidth/2 - string_length/2."
Another way to do it is to use the window.h library to make a window, clear it to the color you want, and print or put graphics in it, I guess.
I haven't tried any of this.