QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: FilipeEstima on September 10, 2020, 01:53:49 am

Title: Increasing number of lines while keeping same font height
Post by: FilipeEstima on September 10, 2020, 01:53:49 am
From QB64's wiki page about WIDTH http://qb64.org/wiki/WIDTH, I thought the maximum column number was 80. To my surprise, I can have a much wider screen than that. My monitor is 25" LG UltraWide and WIDTH 320,49 gave me an enormously wide window covering the entire monitor, left to right. Wow!

However, I'm not able to do the same vertically without having the font height halved. The limit is 49 lines while keeping the same font height; Is there a way to increase the number of lines while keeping the same font height as WIDTH 80,25?
Title: Re: Increasing number of lines while keeping same font height
Post by: bplus on September 10, 2020, 02:20:11 am
Hi @FilipeEstima

Do you know about setting the SCREEN size with _NEWIMAGE? Default font remains at 8 X 16 pixels but you can have any size screen you want.
Title: Re: Increasing number of lines while keeping same font height
Post by: FellippeHeitor on September 10, 2020, 09:11:13 am
Code: QB64: [Select]
  1. SCREEN _NEWIMAGE(desiredWidthInCharacters, desiredHeightInCharacters, 0) '0 here refers to the characteristics of SCREEN 0, which will be inherited
Title: Re: Increasing number of lines while keeping same font height
Post by: FilipeEstima on September 10, 2020, 11:22:29 am
Thanks to you both, I never actually delved into the SCREEN options, let alone _NEWIMAGE and bimaps. Now I know how to make the screen size to my liking.