Author Topic: 3200 x 1800 display problem  (Read 2857 times)

0 Members and 1 Guest are viewing this topic.

Offline Richard

  • Seasoned Forum Regular
  • Posts: 364
    • View Profile
3200 x 1800 display problem
« on: September 09, 2019, 04:22:28 am »
Hi everyone - my first post.

Using HP zBook 15 G2 x64 laptop with 3200 x 1800 display and Windows 10 1903 with latest updates.

The program does not correctly access the full resolution of the display with QB64dev-2019-08-28.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: 3200 x 1800 display problem
« Reply #1 on: September 09, 2019, 08:45:54 am »
Hi Richard,

oops your color will work, big screen!

This code does run on my laptop:
Code: QB64: [Select]
  1. version$ = "zGraphics_QB64forum.bas" 'alpha Red Green Blue
  2.  
  3. z = &HFFFFFFFF ' color bright white
  4.  
  5. Xlimit% = 3200 - 1: Ylimit% = 1800 - 1 '3200x1800 laptop display
  6. xx& = Xlimit%: yy& = Ylimit%
  7. SCREEN _NEWIMAGE(xx& + 1, yy& + 1, 32): _FULLSCREEN 'all of 3200x1800 display
  8.  
  9. LINE (1, 1)-(xx& - 1, yy& - 1), z, B ' can not do box with x=0 or xx&, y=0 or yy&
  10. LINE (5, 5)-(xx& - 5, yy& - 5), z, B ' next resolved inner box
  11. COLOR z: LOCATE 2, 375: PRINT version$
  12. PSET (99, 99), z: PSET (100, 100), z: PSET (101, 101), z
  13. 'should have 3 resolved points
  14.  
  15. 'ending: DO: LOOP UNTIL INKEY$ <> ""
  16.  

I suppose _FULLSCREEN fixes it for my screen not nearly as big. Here what my version looks like
« Last Edit: September 09, 2019, 08:57:39 am by bplus »

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: 3200 x 1800 display problem
« Reply #2 on: September 09, 2019, 07:10:41 pm »
The whole screen was displayed on my machine... But, I had to breakout the magnifying glass, to read the text... lol
Logic is the beginning of wisdom.