Apple Newton Utilities Guide de l'utilisateur Page 287

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 286
CHAPTER 7
Controls and Other Protos
Summary 7-27
Time Protos 7
protoDigitalClock 7
aProtoDigitalClock := {
_proto: protoDigitalClock,
viewFlags: integer, // viewFlags constants
viewBounds: boundsFrame,
viewJustify: justificationFlags,
increment: integer, // minutes to change on tap
time: integer, // initial or current time
wrapping: Boolean, // non-nil to wrap around day
// boundaries
midnite: Boolean, // non-nil if 0 means midnight
// tomorrow
Refresh: function, // update clock
TimeChanged: function, // called when time is changed
...
}
protoSetClock 7
aProtoSetClock := {
_proto: protoSetClock,
viewBounds: boundsFrame,
viewFlags: integer, // viewFlags constants
viewFormat: formatFlags,
hours: integer, // value set by hour hand
minutes: integer, // value set by minute hand
TimeChanged: function, // called when time is changed
...
}
protoNewSetClock 7
aProtoNewSetClock := {
_proto: protoNewSetClock,
viewBounds: boundsFrame,
viewJustify: justificationFlags,
time: integer, // initial or current time
annotations: array, // four strings to annotate
// the clock face
supressAnnotations:Boolean, // if slot exists, suppress
exactHour: Boolean, // adjust hour markers
Vue de la page 286
1 2 ... 282 283 284 285 286 287 288 289 290 291 292 ... 941 942

Commentaires sur ces manuels

Pas de commentaire