Apple Newton Utilities Guia do Utilizador Página 287

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 942
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 286
1 2 ... 282 283 284 285 286 287 288 289 290 291 292 ... 941 942

Comentários a estes Manuais

Sem comentários