background image
C H A P T E R 7
Controls and Other Protos
7-26
Summary
viewValue:
integer
,
// gauge value
minValue:
integer
,
// minimum gauge value
maxValue:
integer
,
// maximum gauge value
ViewSetupFormScript:
function
,
// set initial gauge value
ChangedSlider:
function
,
// slider moved
TrackSlider:
function
,
// viewValue changed
...
}
protoGauge
7
aProtoGauge := {
_proto: protoGauge,
viewBounds:
boundsFrame
,
viewValue:
integer
,
// gauge value
minValue:
integer
,
// minimum gauge value
maxValue:
integer
,
// maximum gauge value
gaugeDrawLimits:
Boolean
,
// non-nil for gray bg
ViewSetupFormScript:
function
,
// set initial gauge value
...
}
protoLabeledBatteryGauge
7
aProtoLabeledBatteryGauge:= {
_proto: protoLabeledBatteryGauge,
viewBounds:
boundsFrame
,
...
}
clGaugeView
7
aClGaugeView:= {
viewBounds:
boundsFrame
,
viewClass:
clGaugeView,
viewValue:
integer
,
// value of gauge
viewFlags:
integer
,
// viewFlags constants
viewFormat:
formatFlags
,
minValue:
integer
,
// min value of gauge
maxValue:
integer
,
// max value of gauge
gaugeDrawLimits:
Boolean
,
// non-nil for gray bg
ViewChangedScript:
function
,
// gauge dragged
ViewFinalChangeScript:
function
,
// gauge changed
...
}
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна