Changeset 495
- Timestamp:
- 04/27/08 15:21:52 (4 months ago)
- Files:
-
- trunk (modified) (1 prop)
- trunk/demos/cairo/cairo_clock/clock.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk
- Property svn:ignore set to
.hg
.hgignore
- Property svn:ignore set to
trunk/demos/cairo/cairo_clock/clock.d
r480 r495 139 139 version(Tango) 140 140 { 141 auto date = tangoClock.WallClock.toDate.time.span;142 143 double minutes = date.minutes * PI / 30;144 double hours = date.hours * PI / 6;145 double seconds = date.seconds * PI / 30;141 auto time = tangoClock.WallClock.now.time; 142 143 double minutes = time.minutes * PI / 30; 144 double hours = time.hours * PI / 6; 145 double seconds = time.seconds * PI / 30; 146 146 } 147 147 else
