Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/NSViewAnimation.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 |
---|---|
32 super(id); | 32 super(id); |
33 } | 33 } |
34 | 34 |
35 public id initWithViewAnimations (NSArray viewAnimations) | 35 public id initWithViewAnimations (NSArray viewAnimations) |
36 { | 36 { |
37 objc.id result = OS.objc_msgSend(this.id, OS.sel_initWithViewAnimations_1, viewAnimations !is null ? viewAnimations.id : null); | 37 objc.id result = OS.objc_msgSend(this.id_, OS.sel_initWithViewAnimations_1, viewAnimations !is null ? viewAnimations.id_ : null); |
38 return result !is null ? new id(result) : null; | 38 return result !is null ? new id(result) : null; |
39 } | 39 } |
40 | 40 |
41 public void setViewAnimations (NSArray viewAnimations) | 41 public void setViewAnimations (NSArray viewAnimations) |
42 { | 42 { |
43 OS.objc_msgSend(this.id, OS.sel_setViewAnimations_1, viewAnimations !is null ? viewAnimations.id : null); | 43 OS.objc_msgSend(this.id_, OS.sel_setViewAnimations_1, viewAnimations !is null ? viewAnimations.id_ : null); |
44 } | 44 } |
45 | 45 |
46 public NSArray viewAnimations () | 46 public NSArray viewAnimations () |
47 { | 47 { |
48 objc.id result = OS.objc_msgSend(this.id, OS.sel_viewAnimations); | 48 objc.id result = OS.objc_msgSend(this.id_, OS.sel_viewAnimations); |
49 return result !is null ? new NSArray(result) : null; | 49 return result !is null ? new NSArray(result) : null; |
50 } | 50 } |
51 | 51 |
52 } | 52 } |