Object <- Viewable <- Control <- Clock <- CityClock |
|
|
AboutToHide AboutToShow CalcLabelBox Draw Notice Touch ValueBox |
|
City DaylightSavings UseScaledText |
| Field | Type | |
|---|---|---|
| Viewable: | superview: | Viewable |
| relativeOrigin: | Dot | |
| contentSize: | Dot | |
| viewFlags: | Flags | |
| labelStyle: | TextStyle | |
| color: | Unsigned | |
| altColor: | Unsigned | |
| shadow: | Shadow | |
| sound: | Playable | |
| HasBorder: | border: | Border |
| Control: | image: | Image |
| textStyle: | TextStyle | |
| controlFlags: | Unsigned | |
| level: | Fixed | |
| min: | Fixed | |
| max: | Fixed | |
| target: | Object | |
| targetAttribute: | OperationNumber | |
| Clock: | timeFromTarget: | Boolean |
| includeDay: | Boolean | |
| isTimer: | Boolean | |
| isEnabled: | Boolean | |
| clockTimeFormat: | Flags | |
| clockData: | Unsigned | |
| city: | City | |
| HasSortText: | sortText: | Text |
| CityClock: | isLocalTimeZone: | Boolean |
| daylightSavings: | Boolean | |
| editor: | Window |
instance CityClock tag; relativeOrigin: <0.0,0.0>; contentSize: <0.0,0.0>; viewFlags: 0x00000000; labelStyle: nilObject; color: 0; altColor: 0; shadow: nilObject; sound: nilObject; border: nilObject; image: nilObject; textStyle: nilObject; controlFlags: 0; level: 0; min: 0; max: 0; target: nilObject; targetAttribute: nilOperation; timeFromTarget: false; includeDay: false; isTimer: false; isEnabled: false; clockTimeFormat: 0x00000000; clockData: 0; city: nilObject; sortText: nilObject; isLocalTimeZone: false; daylightSavings: false; editor: nilObject; end instance;
Define Class CityClock; inherits from Clock, HasSortText; field isLocalTimeZone: Boolean; field daylightSavings: Boolean, getter; field editor: Window, weak; attribute DaylightSavings: Boolean, safe; overrides SetCity; overrides AboutToShow, AboutToHide; overrides Notice; overrides CalcLabelBox; overrides Draw; overrides ValueBox; overrides Touch; #ifdef SCALED_SCREEN overrides UseScaledText; #endif end class;