beautypg.com

Protos 8 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 335

background image

C H A P T E R 8

Text and Ink Input and Display

Summary of Text

8-43

clKeyboardView

8

aClEditView:= {

_noRepeat:

constant

,

viewBounds:

boundsFrame

,

keyDefinitions:

array

,

// defines key layout

viewFlags:

constant

,

viewFormat:

constant

,

keyArrayIndex:

array

,

// key legends

keyHighlightKeys:

array

,

// keys to highlight

keyResultsAreKeycodes:

Boolean

,

keyReceiverView:

view

,

// view for keystrokes

keySound:

soundFrame

,

keyPressScript:

function

...

}

Protos

8

protoInputLine

8

aprotoInputLine:= {

_proto : protoInputLine,

viewBounds:

boundsFrame

,

viewFlags:

constant

,

text:

string

,

viewFont:

constant

,

viewJustify:

constant

,

viewFormat:

constant

,

viewTransferMode:

constant

,

viewLineSpacing:

integer

,

viewLinePattern:

binary

,

// 8-byte pattern

memory:

symbol

,

viewChangedScript:

function

.

...

}

protoRichInputLine

8

aprotoRichInputLine:= {

_proto : protoRichInputLine,

viewBounds:

boundsFrame

,

viewFlags:

constant

,