Previous Next Chapter

WBPattern Editor

The WBPattern editor lets you change the background display of the screen and the Workbench and its windows. The WBPattern editor window is illustrated in Figure 5-12.

Figure 5-12.

WBPattern Preferences Editor Window

The Placement cycle gadget lets you select the following for displaying a background:

Workbench

The Workbench window, regardless of whether Backdrop is selected.

Windows

Disk or drawer windows, but not the Shell or tools windows.

Screen

The Workbench screen when Backdrop is not selected.

The Type cycle gadget lets you select:

Pattern

Allows you to create a pattern or use a preset pattern to apply to the Workbench, Windows, or Screen display.

Picture

Lets you select a picture to apply to the Workbench, Windows, or Screen display.

Applying Background Patterns

You can select an already existing pattern or create your own to fill any open areas for the window. The default is no pattern.

To choose a preset pattern:

  1. Make a selection in the Placement cycle gadget: Workbench, Windows, or Screen.
  2. Select Pattern from the Type cycle gadget.
  3. Select one of the patterns in the Presets gadget to show a sample in the display box above it.
  4. You can optionally select the Test gadget to apply the pattern to the screen without exiting the editor.

To create a pattern:

  1. Make a selection in the Placement cycle gadget: Workbench, Windows, or Screen.
  2. Select Pattern from the Type cycle gadget.
  3. If there is a pattern in the magnified view box, select the Clear gadget to fill the magnified view box with the currently selected color as a background.
  4. Select a color for drawing from the color selection gadget. Or select a pattern from the Presets gadget and use the mouse to edit it.
  5. Point within the magnified view box to where you wish to draw and click the selection button.

    On pixel of the selected color appears where you position the mouse pointer. Holding down the selection button and moving the mouse fills in several pixels at once. Select and draw in other color as necessary.

    As the pattern is created in the magnified view, it also appears in the actual-size box so you can see how the pattern looks tiled onto a larger area. If you make a mistake while drawing, use the Undo gadget to erase the last action performed by the mouse.

  6. When the pattern is completed, select the Test gadget to see how it appears on the screen.

Applying Pictures

You can apply a picture or graphic file to the background of the Workbench, Windows, or Screen. Pictures can be created in a paint package or you can load digitized picture files into the editor. Pictures are mapped to the colors of the screen.

To select an existing picture file:

  1. Select Picture from the Type cycle gadget.
  2. Click on the Select Picture gadget.
  3. In the file requester, enter the file name of the picture you wish to use.
  4. Optionally select the Test gadget to apply the picture to the screen without exiting the editor.

WBPattern Edit Menu

The WBPattern Edit menu has items that let you use other drawing programs to create and edit patterns and to use existing images from other sources. For example, you can use the drawing capabilities of the IconEdit tool, described in Chapter 10, to create a design and then load it into WBPattern.

Cut

Copies the contents of the magnified view to the Clipboard and clears the view to the background color.

Copy

Copies to the Clipboard without clearing the view.

Paste

Copies an IFF image from the Clipboard to the magnified view, replacing whatever is currently there. (Images larger than the 16 x 16 pixel view are cut off on the bottom and right sides.)

Erase

Clears the magnified view to the background color.

Undo

Operates the same as the Undo gadget, exchanging the contents of the Undo and magnified views.

Load Image

Opens a file requester for entering the name of an image file to use as a background pattern.

Reset to Defaults

Resets WBPattern to default settings (no patterns).

Last Saved

Returns the last saved settings.

Restore

Restores the settings in effect when the editor was opened.

When you Save or Use, all selected patterns or pictures are saved and/or applied where designated. Selecting Cancel also cancels any patterns or pictures applied with Test gadget.

Top Previous Next Chapter