Article View: comp.sys.amiga.tech
Article #12324Re: Determining Window Border Widths
From: Chuck McManis
Date: Sat, 22 Apr 1989 20:17
Date: Sat, 22 Apr 1989 20:17
25 lines
1493 bytes
1493 bytes
In article <2164@pur-phy> murphy@pur-phy (William J. Murphy) writes:
>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.
Magically, you don't need to know. Instead, you can get the information
*after* intuition has figured out all of the borders by looking at the
fields in the window structured named :
BorderLeft, BorderRight, BorderTop, BorderBottom
These contain the border sizes.
>I assume that the standard window has side and bottom borders of
>width and height 1 pixel. Is this correct?
No. Try it and see.
Let me again reccomend to new and experienced Amiga programmers alike,
read the include files. There is lots of "neat" stuff in there.
--Chuck McManis
uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com
These opinions are my own and no one elses, but you knew that didn't you.
"A most excellent barbarian ... Genghis Kahn!"
Technical Details
Message-ID:
<100572@sun.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pepper!cmcmanisReferences:
<2164@pur-phy>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga.tech Subject: Re: Determining Window Border Widths Message-ID: <100572@sun.Eng.Sun.COM> Date: 22 Apr 89 20:17:33 GMT References: <2164@pur-phy> Sender: news@sun.Eng.Sun.COM Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Distribution: usa Organization: Sun Microsystems, Mountain View Lines: 25