beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 374

background image

C H A P T E R 9

Recognition

9-32

Summary

Non-Text Recognition View Flags

9

Constant

Value

Description

vNothingAllowed

0x00000000

or

0x0000

The view accepts no handwritten or keyboard input.

vAnythingAllowed

65535 << 9

or

0x01FFFE00

Recognize any input. Use only for views based on
the

clEditView

class.

vClickable

1 << 9

or

0x0200

Accept taps and send

ViewClickScript

message to the view once for each tap that
occurs within the view.

vStrokesAllowed

1 << 10

or

0x0400

Accept stroke input and send the

ViewStrokeScript

message at the end

of each stroke.

vGesturesAllowed

1 << 11

or

0x0800

Recognize gesture strokes such as scrub, highlight,
tap, double tap, caret, caret-drag, and line. Send
the

ViewGestureScript

message when the

view recognizes a gesture that it does not handle
automatically.

vShapesAllowed

1 << 16

or

0x010000

Enables shape recognition. Use only for views
based on the

clEditView

class.

vSingleUnit

1 << 8

or

0x0100

Disable the use of spatial cues (distance between
strokes). Meaningful for text recognizers only.

vNoSpaces

1 << 1

or

0x0002

Directs a view based on the

clParagraphView

class to not insert spaces between existing text and
new text.

vWidthIsParentWidth

1 << 0

or

0x0001

Extend right boundary of

clParagraphView

view to match that of its parent.