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
...
}
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна