Newton FYI

Gregory Abowd (abowd@cc.gatech.edu)
Thu, 23 Jan 1997 14:53:30 -0500

Gregory
------- Forwarded Message

Return-Path: newtondev@newton.apple.com
Received: from burdell.cc.gatech.edu (root@burdell [130.207.3.207]) by cedarhaven.cc.gatech.edu (8.8.4/8.6.9) with ESMTP id TAA26118 for <abowd@cedarhaven.cc.gatech.edu>; Wed, 22 Jan 1997 19:47:27 -0500 (EST)
Received: from mail-out2.apple.com (mail-out2.apple.com [17.254.0.51]) by burdell.cc.gatech.edu (8.8.4/8.6.9) with ESMTP id TAA21083 for <abowd@cc.gatech.edu>; Wed, 22 Jan 1997 19:47:25 -0500 (EST)
Received: from scv2.apple.com (A17-128-100-120.apple.com [17.128.100.120])
by mail-out2.apple.com (8.8.5/8.8.4) with ESMTP
id QAA13934; Wed, 22 Jan 1997 16:42:24 -0800
Received: from scv.apple.com (duffelmeyer-dani2.apple.com [17.205.20.141])
by scv2.apple.com (8.8.4/8.8.4) with SMTP
id QAA31468; Wed, 22 Jan 1997 16:32:12 -0800
Date: Wed, 22 Jan 1997 16:32:12 -0800
Message-Id: <199701230032.QAA31468@scv2.apple.com>
From: "Newton Developer Information" <newtondev@newton.apple.com>
Errors-To: newtondev@newton.apple.com
Precedence: Bulk
Subject: Button Bar in Newton 2.1 OS
To: Newton.Developer@scv2.apple.com
Reply-To: newtondev@newton.apple.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Newton Developers,

During the Engineering Q&A session of last November's Newton
Technology Conference in San Francisco, some developers
expressed concern about the implementation of the button bar
in Newton 2.1 OS. If an application is full-screen
horizontally or vertically, the border of the view could
overlap the button bar.

This problem was most noticable with full-justified
applications based on the NewtApplication framework. The
newtApp proto has a matte border which overlaps the button
bar in Newton 2.1 OS when full-justified.

Based on developer feedback, the Newton engineering team has
implemented a solution that fixes applications based on the
NewtApp application framework.

The implemented solution clears the border bits in the
viewFormat slot of a NewtApplication-based view which is
full screen (both horizontally and vertically). This occurs
within newtApplication's viewSetupFormScript. If you change
the viewBounds, viewJustify, or viewFormat slots of your
application after you call the inherited
viewSetupFormScript, you may need to update your viewFormat
slot's border bits.

For full screen applications that are not based on
newtApplication, you should not include a border in your
viewFormat slot. If you have an application that fills the
screen horizontally but not vertically (or vice versa), you
may need to set your viewBounds and viewFormat slot
differently. For instance, you could use the GetAppParams
global function and the GlobalOuterBox view method to set
your viewBounds so that the border is visible.

In general, if your application is not full-justified you
will need to ensure that your border does not exceed the
application area and adjust its border if necessary. This
should only require a minor modification to your code.

If you have any questions and you are entitled to technical
support, please send email to devsupport@apple.com.
If you are not a Newton Program member, you might want to
post your questions to comp.sys.newton.programmer. A fellow
developer or an Apple engineer may be able to offer you some
help.

Newton Developer Technical Support

------- End of Forwarded Message