Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga Subject: Re: Things to fix. To: Amiga. Message-ID: <29709@sun.uucp> Date: Thu, 1-Oct-87 15:17:36 EDT Article-I.D.: sun.29709 Posted: Thu Oct 1 15:17:36 1987 Date-Received: Mon, 5-Oct-87 07:17:23 EDT References: <833@sugar.UUCP> Sender: news@sun.uucp Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 36 In article <833@sugar.UUCP> peter@sugar.UUCP (Peter da Silva) writes: >Gedgets have some problems. > > 1) When you change your default font, gadgets are still rendered in >Topaz. Perhaps you should provide some intuition-blessed method for changing >the font. > > 2) The "highlight box" in gadgets is pretty ugly. How about just a >single line? > > 3) It's hard to deselect gadgets that use the highlight box without >occasionally getting part of the box left rendered. These are all due to how gadgets with Intuitext are rendered. And it is a problem but there are ways around it. One would think a simple boolean gadget would consist of an Intuitext pointer and a pointer to a Border structure. Unfortunately, Intuition can't figure out how to display these for both highlighed (GADHCOMP) and non-highlighted situations. What you can do (and this works rather well) is to take your intuitext structure and border structure, and render them in to a little gadget sized bitmap. Then take the bitmap and make it into an Image structure and use that in your gadget. As for using Topaz, I have an application I wrote that puts up several boolean text oriented gadgets. These are created using the method described above and work as expected, however I went to great pains to pick up the window's default font as the font for my 'buttons'. What this involved was actually repositioning the gadgets in my window and requester depending on how tall and or wide the letters were. (I abort if all the gadgets wont fit on the screen). This can be a lot of work in the window setup and not everyone is willing to put in the extra effort. Too many programs look horrible when you put them in the 60 character font mode. --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.