Posts: 3,446
Threads: 376
Joined: Apr 2022
Reputation:
345
$RESIZE:STRETCH
Then resize the window by stretching any corner.
Posts: 4,695
Threads: 222
Joined: Apr 2022
Reputation:
322
and you've already considered and rejected _FullScreen?
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever
Posts: 3,446
Threads: 376
Joined: Apr 2022
Reputation:
345
Since you're using WIDTH as a command, is it safe to assume that this is a SCREEN 0 screen?
IF so, the simplest solution is to just use _LOADFONT to load a custom font at a larger size and then set it as your screen font.
fonthandle = _LOADFONT("courbd.ttf", 64, "monospace")
_FONT fonthandle
Otherwise you're going to be looking at running your program in one screen, then scaling with _PutImage to a different size screen, and displaying the scaled screen instead of the original. That'd be quite a bit more work, and I was trying to give you the simple solutions first.
$RESIZE:STRETCH is good for grabbing a corner and resizing a screen without changing dimensions or print locations and such.
_FULLSCREEN (as bplus suggested) works nicely as well, if you don't mind using the whole screen to display your program.
Otherwise, in SCREEN 0, you can adjust size by changing the screen font size as above.
If none of those are sufficient, then you have to just bite the bullet and create a second screen, put the first screen on it in your display loop, and then display that second screen. This might require translation of mouse coordinates and such thing as the user will be interacting with the larger screen instead of your smaller screen, so keep those things in mind if you decide to go that route.