Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/NSPanel.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 |
---|---|
30 super(id); | 30 super(id); |
31 } | 31 } |
32 | 32 |
33 public bool becomesKeyOnlyIfNeeded () | 33 public bool becomesKeyOnlyIfNeeded () |
34 { | 34 { |
35 return OS.objc_msgSend(this.id, OS.sel_becomesKeyOnlyIfNeeded) !is null; | 35 return OS.objc_msgSend(this.id_, OS.sel_becomesKeyOnlyIfNeeded) !is null; |
36 } | 36 } |
37 | 37 |
38 public bool isFloatingPanel () | 38 public bool isFloatingPanel () |
39 { | 39 { |
40 return OS.objc_msgSend(this.id, OS.sel_isFloatingPanel) !is null; | 40 return OS.objc_msgSend(this.id_, OS.sel_isFloatingPanel) !is null; |
41 } | 41 } |
42 | 42 |
43 public void setBecomesKeyOnlyIfNeeded (bool flag) | 43 public void setBecomesKeyOnlyIfNeeded (bool flag) |
44 { | 44 { |
45 OS.objc_msgSend(this.id, OS.sel_setBecomesKeyOnlyIfNeeded_1, flag); | 45 OS.objc_msgSend(this.id_, OS.sel_setBecomesKeyOnlyIfNeeded_1, flag); |
46 } | 46 } |
47 | 47 |
48 public void setFloatingPanel (bool flag) | 48 public void setFloatingPanel (bool flag) |
49 { | 49 { |
50 OS.objc_msgSend(this.id, OS.sel_setFloatingPanel_1, flag); | 50 OS.objc_msgSend(this.id_, OS.sel_setFloatingPanel_1, flag); |
51 } | 51 } |
52 | 52 |
53 public void setWorksWhenModal (bool flag) | 53 public void setWorksWhenModal (bool flag) |
54 { | 54 { |
55 OS.objc_msgSend(this.id, OS.sel_setWorksWhenModal_1, flag); | 55 OS.objc_msgSend(this.id_, OS.sel_setWorksWhenModal_1, flag); |
56 } | 56 } |
57 | 57 |
58 public bool worksWhenModal () | 58 public bool worksWhenModal () |
59 { | 59 { |
60 return OS.objc_msgSend(this.id, OS.sel_worksWhenModal) !is null; | 60 return OS.objc_msgSend(this.id_, OS.sel_worksWhenModal) !is null; |
61 } | 61 } |
62 | 62 |
63 } | 63 } |