🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #6640

Question: Saving the Menu Bar

#6640
From: Greg Lindahl
Date: Wed, 06 Dec 1989 20:01
18 lines
1177 bytes
In TeXShell, which shamelessly borrows code from Moshe Braner's
generic DA code, I save the menu bar by knowing that it's the
first 380 longwords after the start of the screen, which it
gets from Physbase().

Now, obviously, this is a dumb thing to do in the days of bigger
screens. So what's the best way to save the menu bar? I could try
getting the height of the font, and assume the menu bar is smaller
than 2 character heights, and then blit it into a buffer. Or I could
try doing something strange with window creation to see how close to
the top of the screen I can put a window.

What's the best, most portable way?

Thanks in advance.

------
Greg Lindahl
Technical Details
Message-ID: <2407@hudson.acc.virginia.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!mailrus!iuvax!purdue!haven!uvaarpa!hudson!bessel.acc.Virginia.EDU!gl8f

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!mailrus!iuvax!purdue!haven!uvaarpa!hudson!bessel.acc.Virginia.EDU!gl8f
From: gl8f@bessel.acc.Virginia.EDU (Greg Lindahl)
Newsgroups: comp.sys.atari.st
Subject: Question: Saving the Menu Bar
Message-ID: <2407@hudson.acc.virginia.edu>
Date: 6 Dec 89 20:01:04 GMT
Sender: news@hudson.acc.virginia.edu
Reply-To: gl8f@bessel.acc.Virginia.EDU (Greg Lindahl)
Organization: Dept. of Astronomy, University of Virginia
Lines: 18