Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Screen Resizing
#12
(07-26-2024, 02:37 AM)Pete Wrote: Hi Tony,

I put together some quick code to see what you are seeing. QB64 was made to be QuickBASIC compatible, so the fonts seen with WIDTH 40, 43 keep that legacy support. The fonts are different when using _NEWIMAGE, so I see the problem. _RESIZE works like a charm, manually, but not automatically. Since you want your app to work in Windows and Linux, you'll want to avoid WINAPI calls to resize the window. That pretty much leaves ditching the default fonts, and loading custom fonts. I'm not sure you will get the desired retro look with that approach.

I can't speak for the development team as to whether or not automatic resizing with the _RESIZE keyword would be a simple addition to an upcoming release. This is the first time, since it was created, such a related function has been desired. 

Pete
    Thanks Pete,

        I've been getting close to that conclusion.   I'm currently investigating sending Mouse commands to the program externally (perhaps with another QB64 program, perhaps with a Python script)    Your absolutely correct about wanting to avoid windows api.   (Unless maybe it's something fairly short that I can duplicate in Linux with different code).
Reply


Messages In This Thread
Screen Resizing - by ahenry3068 - 07-25-2024, 06:46 PM
RE: Screen Resizing - by Petr - 07-25-2024, 07:10 PM
RE: Screen Resizing - by ahenry3068 - 07-25-2024, 07:19 PM
RE: Screen Resizing - by NakedApe - 07-25-2024, 07:22 PM
RE: Screen Resizing - by ahenry3068 - 07-25-2024, 07:52 PM
RE: Screen Resizing - by Petr - 07-25-2024, 07:42 PM
RE: Screen Resizing - by Pete - 07-26-2024, 12:02 AM
RE: Screen Resizing - by ahenry3068 - 07-26-2024, 12:40 AM
RE: Screen Resizing - by Pete - 07-26-2024, 12:47 AM
RE: Screen Resizing - by ahenry3068 - 07-26-2024, 01:02 AM
RE: Screen Resizing - by Pete - 07-26-2024, 02:37 AM
RE: Screen Resizing - by ahenry3068 - 07-26-2024, 02:48 AM



Users browsing this thread: 2 Guest(s)