Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Apple Guide Complete / Part 1 - Designing Guide Files
Chapter 2 - Authoring Tips and Suggestions


Designing Buttons

This section contains guidelines for creating buttons for your panels. For more information on button alignment, see "Designing Your Own Panel Format" on page 2-51. Also see the guidelines on standard toolbox controls in the Macintosh Human Interface Guidelines.

You can add two types of buttons to your panels: navigation and content area.

Note
You cannot use more than 50 user control features--that is, buttons and checkboxes--for any single sequence.

Designing Navigation Buttons

In the navigation bar, you can add from one to three buttons to supplement the default navigation arrows. (If a panel does not use the default navigation arrows, they appear dimmed on the navigation bar.) For any navigation bar button, you should use a height of 18 pixels and include a gray pixel (level 1 or 2) in its corners so that it blends into the panel background.

If possible, use the same set of navigation bar buttons throughout your guide file. If a panel in a sequence requires a button that is unique to it (for example, a button that launches a demonstration that is specific to that panel), do not use a navigation button. Instead, use a content area button. See the next section for details.

On the navigation bar of each panel, provide a GoStart button to take the user back to the access screen. The GoStart button contains the Apple Guide icon, or lightbulb, and should appear in the lower-left corner of each panel. (In some system software versions, the GoStart button instead contains the word "Topics".)

Another useful button to place on the navigation bar is the Huh? button, because you can use it to take the user to a place that expands the information on a panel. The Huh? button contains the word "Huh?" (or its localized equivalent); it should appear on all panels in the sequence. The Huh? button should appear active on the panel only if you associate it with another panel. Then if the user clicks the Huh? button, the panel associated with it opens on top of the original panel. If you do not associate a panel with this button, it will appear dimmed. For more information, see "Designing a Panel Associated With a Huh? Button" on page 2-64.

Figure 2-45 shows a panel that contains GoStart and Huh? buttons in the navigation bar.

Figure 2-45 A panel with GoStart (using the lightbulb icon) and Huh? buttons in the navigation bar

Note
Guide Maker provides the files needed to create the GoStart and Huh? buttons.
A guide file can contain only one dimmed navigation button at a time (that is, a navigation button that is inactive). Apple recommends that you provide dimmable functionality to the Huh? button.

Designing Content Area Buttons

Apple Guide imposes no limit on the number of buttons that you can add to the content area of a panel. Apple, however, sets a specific limit for radio buttons and checkboxes and recommends that you avoid placing an excessive number of standard and three-dimensional buttons; otherwise, your panel design can become confusing and cluttered. Also remember that Apple Guide imposes a maximum number of 50 control features per sequence, as described earlier in this section.

By default, radio buttons, checkboxes, and standard buttons use the system font. You should use Guide Script commands to specify that these button types instead use the Apple Guide font.

You can have Apple Guide place the button inline with the surrounding text and justify it within the current format, or you can specify the button's location relative to the current pen position by specifying a specific point. To make localization easier, Apple recommends that you use relative rather than absolute positioning of buttons on the panel. (When translated into another language, panel text can increase and possibly overflow onto a panel button.)

Figure 2-29 shows a panel with a button centered with relative positioning.

Figure 2-46 A panel with a button centered using relative positioning

This particular panel uses the Tag and Body format. Notice that Guide Maker centers the button on the Body format. By default, Apple Guide places the button just under the panel text. You specify left, center, or right justification within the current format. If you prefer more white space between the panel text and button, add a carriage return after the button, as shown in Figure 2-29.

In contrast, Figure 2-47 shows a panel containing two buttons, each with absolute positioning.

Figure 2-47 A panel containing two buttons with absolute positioning

This panel uses the Full format. Notice that the location of the first button is specified as Point(50,20), and the location of the second button as Point(50,80). Guide Maker places the first button 50 pixels to the right of and 20 pixels down from the current pen location and places the second button 50 pixels to the right of and 80 pixels down from the current pen location.

IMPORTANT
If you place a button with absolute positioning, the current pen location is not reset (it remains at its current location until you place an object with relative positioning).
If you use a particular type of button on more than one panel, it should appear in the same location for all panels that use it throughout your guide files. For example, you might place all Tip buttons on the lower-right side of the panel content area.

The rest of this section contains guidelines specific to creating standard and three-dimensional buttons, as well as radio buttons and checkboxes.

Using Standard Buttons

Standard buttons are a set height of 20 pixels with a minimum width of 59 pixels (the width of a standard OK button). Apple Guide automatically

You can specify the button's general location (left, right, or center) or its location relative to the current pen position by specifying a specific point.

You must specify the button's title, the button's location on the panel, and the event function (typically an Apple event) that Apple Guide calls when the user clicks the button.

Using Three-Dimensional Buttons

You create a three-dimensional button of any size. You must provide the color pictures that describe the button's appearance when it's selected (up) and not selected (down). You should also provide an additional set of black-and-white pictures, which Apple Guide uses according to the bit depth of the user's monitor. Be sure to use the same size for both pictures.

You must also provide the button's location on the panel and the event function that Apple Guide calls when the user clicks the button.

One of the recommended panel types, Continue, uses a three-dimensional button. Figure 2-48 shows the up and down appearance, in grayscale, of a color Continue button.

Figure 2-48 The up and down appearance (in grayscale) of a color Continue button

In contrast, Figure 2-49 shows the up and down appearance of a black-and- white Continue button.

Figure 2-49 The up and down appearance of a black-and-white Continue button

For more information on the Continue panel, see "Designing a Continue Panel" on page 2-67.

Apple Guide places the button inline with the surrounding text and justifies it within the current format. You can specify the button's general location (left, right, or center) or its location relative to the current pen position by specifying a specific point. For example, if you specify the button location as Point (50,100), Guide Maker places the button 50 pixels to the right and 100 pixels down from the current pen location. For more information on placing buttons at specific coordinates, see the previous section. If you create a three- dimensional button that resembles an icon, you should also provide a label that tells the user what to do.

Using Radio Buttons and Checkboxes

Use radio buttons or checkboxes to have the user select branches in a sequence, following these guidelines:

You should use a prompt that tells the user how to select the radio button or checkboxes: for example, "Make your choice, then click the right arrow." Above the radio buttons or checkboxes, you should include an instruction that tells the user what to do. For example, the instructions for radio buttons can say "Which do you want to do? Click one." In contrast, the instruction for checkboxes can say, "What do you want to do? Click one or both." For examples of such instructions, see "Designing Panel Prompts" on page 2-44.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
12 JUL 1996