🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11522

Screen Dimensions

#11522
From: Terry Coatta
Date: Mon, 20 Feb 1989 08:28
21 lines
1363 bytes
I wish to open a window in such a way that it nicely fills the physical
display (for example, on a plain jane WB I would like the window to
come up as 640 x 200).  The problem I have is due to the (unsupported,
but might pleasant to have) program VSCREEN.  I can look in gfxbase
to extract screen size info (will this reflect the effect of any
morerows like changes?) but if vscreen is running I find the virtual
screen size, whereas I want the physical size.  More examples...
Suppose I have vscreen running with dimensions 1024 x 400 on a non
interlace display, and morerows is not active.  I want to be able to
determine that I should open the window with dimensions 640 x 200.
If morerows were active, say increasing the width to 655, then I would
want to determine that I should open the window with dimensions
655 x 200.  Any suggestions?

Terry Coatta
Dept. of Computer Science, UBC, Vancouver BC, Canada
coatta@grads.cs.ubc.cdn

`What I lack in intelligence, I more than compensate for with stupidity'

 
Technical Details
Message-ID: <867@ubc-cs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!ames!ncar!gatech!rutgers!att!alberta!ubc-cs!grads.cs.ubc.ca!coatta

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!ames!ncar!gatech!rutgers!att!alberta!ubc-cs!grads.cs.ubc.ca!coatta
From: coatta@grads.cs.ubc.ca (Terry Coatta)
Newsgroups: comp.sys.amiga.tech
Subject: Screen Dimensions
Message-ID: <867@ubc-cs.UUCP>
Date: 20 Feb 89 08:28:25 GMT
Sender: news@cs.ubc.ca
Lines: 21