gl8f@bessel.acc.Virginia.EDU (Greg Lindahl) (12/07/89)
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
kbad@atari.UUCP (Ken Badertscher) (12/09/89)
gl8f@bessel.acc.Virginia.EDU (Greg Lindahl) asks: | what's the best way to save the menu bar? The menu bar area is the area of the screen _outside_ of that returned by wind_get( 0, WF_WORKXYWH, ... ). This is in the AES manual, section 11.2 "Using The Window Library", page 11-7. -- ||| Ken Badertscher (ames!atari!kbad) ||| Atari R&D System Software Engine / | \ #include <disclaimer>