comparison dwt/internal/cocoa/NSAnimationContext.d @ 1:8b48be5454ce

The internal cocoa classes compile now
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Tue, 19 Aug 2008 17:35:17 +0200
parents 380af2bdd8e5
children f565d3a95c0a
comparison
equal deleted inserted replaced
0:380af2bdd8e5 1:8b48be5454ce
41 return result !is null ? new NSAnimationContext(result) : null; 41 return result !is null ? new NSAnimationContext(result) : null;
42 } 42 }
43 43
44 public double duration () 44 public double duration ()
45 { 45 {
46 return cast(double) OS.objc_msgSend_fpret(this.id, OS.sel_duration); 46 return cast(double) OS.objc_msgSend_fpret(this.id_, OS.sel_duration);
47 } 47 }
48 48
49 public static void endGrouping () 49 public static void endGrouping ()
50 { 50 {
51 OS.objc_msgSend(OS.class_NSAnimationContext, OS.sel_endGrouping); 51 OS.objc_msgSend(OS.class_NSAnimationContext, OS.sel_endGrouping);
52 } 52 }
53 53
54 public void setDuration (double duration) 54 public void setDuration (double duration)
55 { 55 {
56 OS.objc_msgSend(this.id, OS.sel_setDuration_1, duration); 56 OS.objc_msgSend(this.id_, OS.sel_setDuration_1, duration);
57 } 57 }
58 58
59 } 59 }