beautypg.com

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

Page 289

background image

C H A P T E R 7

Controls and Other Protos

Summary

7-29

protoDrawer

7

aProtoDrawer := {

_proto: protoDrawer,

viewFlags:

integer

,

// viewFlags constants

viewBounds:

boundsFrame

,

viewFormat:

formatFlags

,

viewEffect:

effectFlags

,

showSound:

soundFrame

,// sound when drawer opens

hideSound:

soundFrame

,// sound when drawer closes

...

}

protoFloater

7

aProtoFloater := {

_proto: protoFloater,

viewBounds:

boundsFrame

,

viewFlags:

integer

,

// viewFlags constants

viewJustify:

justificationFlags

,

viewFormat:

formatFlags

,

viewEffect:

effectFlags

,

noScroll:

string

,

// msg to display if no scrolling

noOverview:

string

,

// msg to display if no overview

...

}

protoFloatNGo

7

aProtoFloatNGo := {

_proto: protoFloatNGo,

viewFlags:

integer

,

// viewFlags constants

viewBounds:

boundsFrame

,

viewJustify:

justificationFlags

,

viewFormat:

formatFlags

,

viewEffect:

effectFlags

,

noScroll:

string

,

// msg to display if no scrolling

noOverview:

string

,

// msg to display if no overview

...

}