From mint-bounce@lists.fishpool.fi Wed Jul 6 00:23:02 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Message-ID: <42CB06BE.3010808@chello.nl> Date: Wed, 06 Jul 2005 00:16:30 +0200 From: Henk Robbers User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: MiNT Mailing List Subject: Re: [MiNT] usage of wind_calc() References: <42BB46F0.4090206@chello.nl> <1119599743.15790.284.camel@linuxbox> <1119718803.15790.339.camel@linuxbox> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: h.robbers@chello.nl Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=2.1 tagged_above=-50.5 required=7.0 tests=BAYES_00, RCVD_IN_SORBS X-Spam-Level: ** Arnaud BERCEGEAY wrote: > > because wind_get(WF_WORKXYWH) is buggy in some AESes : with buggy AES, > wind_get(WF_WORKXYWH) forget to take into account the height of the > toolbar. > There are very few AES's that support toolbars, so it should be very easy to determine which are buggy (if at all). They are basically N.AES and XaAES. I dont know about MagiC. AES's that dont know toolbars in my experience ALL give correct measures on wind_get(WF_WORKXYWH). I think that toolbar supporting AES's should exclude the toolbar from wind_get(WF_WORKXYWH) because a toolbar is window content. Content is what you put in the work area. The work area is the user part of a window. Toolbars are definately defined by users, so they must be considered as part (or whole) of the work area and should not be confused with window decoration. It just happens that you dont need to explicitely draw the toolbar yourself. This is a service of the AES. A toolbar is a OBJECT tree, so it is well defined and it would be drawn bt the AES anyhow by means of calling objc_draw. -- Groeten; Regards. Henk Robbers. mailto:h.robbers@chello.nl http://members.ams.chello.nl/h.robbers/Home.html Interactive disassembler: TT-Digger; http://digger.atari.org A Home Cooked teXt editor: AHCX