🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Determining Window Border Widths

#12310
From: William J. Murphy
Date: Fri, 21 Apr 1989 16:13
18 lines
1079 bytes
With the ability to use fonts other than Topaz 80 in different
windows, I am wondering how the system (Intuition in particular)
determines the width of borders.

  Is there a function call that can be made to find the height 
of the top border?  If so, what is it? If not, What about
looking at the window structure, I can't remember right now, but
I recall seeing a structure which contains the TextSize. 

  Is it something like font height + 2 = border height?  

I assume that the standard window has side and bottom borders of
width and height 1 pixel.  Is this correct?

Any and all answers are appreciated. Please e-mail to cut traffic.
Thanks,
Bill Murphy
murphy@newton.physics.purdue.edu
Technical Details
Message-ID: <2164@pur-phy>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!mentor.cc.purdue.edu!pur-ee!pur-phy!murphy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!mentor.cc.purdue.edu!pur-ee!pur-phy!murphy
From: murphy@pur-phy (William J. Murphy)
Newsgroups: comp.sys.amiga.tech
Subject: Determining Window Border Widths
Message-ID: <2164@pur-phy>
Date: 21 Apr 89 16:13:45 GMT
Distribution: usa
Organization: Purdue Univ. Phys Dept, W.Lafayette, IN
Lines: 18