Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: net.micro.amiga,net.micro.mac Subject: Re: BYTE issue of September 86 focuses on the 68000 Message-ID: <8609250635.AA24969@cory.Berkeley.EDU> Date: Thu, 25-Sep-86 02:35:34 EDT Article-I.D.: cory.8609250635.AA24969 Posted: Thu Sep 25 02:35:34 1986 Date-Received: Thu, 25-Sep-86 06:17:01 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 60 Xref: mnetor net.micro.amiga:4831 net.micro.mac:7187 >Larry Rosenstein writes: >What about the scroll and paging arrows? On the Mac, a scroll bar consists >of 5 parts: up/down arrows (scroll by a small amt), up/down pagers (scroll >by screenful), and scroll box (random access scrolling). Proportional >gadgets sound like just the last of these. > >\From a quick scan of the Intuition manual it seemed that you have to add 4 >button-type gadgets to implement the arrows and pagers. Is that right, and >does the system automatically move and resize all 5 gadgets? (If you >resize the window, you want the proportional gadget to grow and shrink, and >the 4 button gadgets to remain adjacent to it.) Right, you could impliment the up/down arrows and pagers with boolean gadgets, and the scroll box with a proportional gadget. You can specify that the system automatically resize the proportional gadget, and make all of them relative to the window top or bottom and right or left borders (satisfying all the requirements). That much Intuition will handle. All you have to do is wait for the activation messages. >Sorry. I was talking about a small status area within a window. For >example, the bottom edge of a window looks like: > > | status area |<=======scroll bar ======>| > >In other words, the horizontal scroll bar does not extend to the left edge >of the window, leaving room for status information without using up too much >of the window. My question was whether this case was automatically handled >by the Amiga software. > >Thanks for the informative reply. On the amiga, the top border is taken up by: |close-gadget|<===title and scroll bar===>|back-gadget|front-gadget| (an example of the configuration one uses the most often). Usually Only Intuition puts gadgets in this area. However, you can place your own gadgets here also. All you have to do is give them a priority higher than intuition's gadgets and they'll appear on top of them. (The priority is determined by a gadget's position in the gadget list). Thus, you could create a gadget overiding the left side of the scroll bar and put whatever you want in it. This works fine. This doesn't require much more work than normal gadget creation. Alternately, you could: -Not worry about gadgets and write directly over the title (not completely kocher, but it can be made clean). This involves including the ACTIVE/INACTIVE and other IDCMP message whos intuition operation would rewrite (or do something to) the title area. -Use the window title as your status area via Intuition calls to set the text. -Matt