8 lines
3.4 KiB
Plaintext
8 lines
3.4 KiB
Plaintext
en·vÅos READBRUSH
|
||
2
|
||
|
||
4
|
||
|
||
1
|
||
|
||
READBRUSH
|
||
1
|
||
|
||
4
|
||
|
||
By: Larry Masinter (Masinter.pa@Xerox.com)
|
||
uses: BITMAPFNS
|
||
This document last edited on September 8, 1988.
|
||
INTRODUCTION
|
||
This module implements two things:
|
||
(IDLE.GLIDING.BRUSH W box wait) [Function]
|
||
Like the default IDLE.BOUNCING.BOX Idle function but glides the bitmap around the screen instead of bouncing it.
|
||
(READBRUSHFILE file) [Function]
|
||
Reads files in the ".brush" format used by Mesa/Viewpoint. Returns a pair of bitmap/mask (or just (bitmap) if there is no mask. Brush file names use defaults from BRUSHDIRECTORY, initially {goofy:osbu north:xerox}<hacks>data>brushes> (and of use only inside Xerox.)
|
||
(READBRUSH file) [Function]
|
||
Calls READBRUSHFILE and then creates a window with that brush in it.
|
||
BRUSHDIRECTORY [Variable]
|
||
Default location to get brushes from.
|
||
Adds an entry to IDLE.FUNCTIONS for "Gliding box", which will use IDLE.GLIDING.BOX on the brush selected from a menu created by enumerating all of the .brush files on BRUSHDIRECTORY. |