Special view protos 7 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 288

Advertising
background image

C H A P T E R 7

Controls and Other Protos

7-28

Summary

Refresh:

function

,

// update clock

TimeChanged:

function

,

// called when time is changed

...

}

protoAMPMCluster

7

aProtoAMPMCluster := {

_proto: protoAMPMCluster,

viewBounds:

boundsFrame

,

viewJustify:

justificationFlags

,

time:

integer

,

// specify time--required

...

}

Special View Protos

7

protoDragger

7

aProtoDragger := {

_proto: protoDragger,

viewBounds :

boundsFrame

,

viewFlags:

integer

,

// viewFlags constants

viewFormat:

formatFlags

,

noScroll:

string

,

// msg to display if no scrolling

noOverview:

string

,

// msg to display if no overview

...

}

protoDragNGo

7

aProtoDragNGo := {

_proto: protoDragNGo,

viewBounds:

boundsFrame

,

viewFlags:

integer

,

// viewFlags constants

viewJustify:

justificationFlags

,

viewFormat:

formatFlags

,

noScroll:

string

,

// msg to display if no scrolling

noOverview:

string

,

// msg to display if no overview

...

}

Advertising