mkopack73 Senior Member
 Joined: 03/07/2020 Location: United StatesPosts: 261 |
Posted: 03:03am 01 Aug 2020 |
|
|
|
Ok, got the keyboard scanning properly...
And thanks, I missed the MM.INFO(FONTHEIGHT)....
Wish there was an MM.INFO(FONTNUMBER) and MM.INFO(FONTSCALE) to get back which font # is currently being used at what scale...
Basically I'm trying to write an include for doing high scores... so I have a function in there for reading the top 10 scores from a sequential file, one for displaying the top 10, a function that determines if a given score is in the top 10, and another for the user to put in their name if it's a top 10 and save the new list to disk.
I am trying to make this universal regardless of the resolution of the screen. I am having parameters to allow the caller to tell it which font and scale to use for displaying the HS screens. But what I'm missing is a way to reset the font back to what it was after it's done doing it's job. There doesn't seem to be a way to ask what font # is currently in use.
I guess I could just leave it up to the parent program to set the font info before calling the high score functions... |