comparison dwt/internal/cocoa/NSButtonCell.d @ 87:4e8317766ba0

Ported dwt.widgets.Tree
author Jacob Carlborg <doob@me.com>
date Tue, 30 Dec 2008 16:22:25 +0100
parents 62202ce0039f
children
comparison
equal deleted inserted replaced
86:102ff2adce19 87:4e8317766ba0
38 38
39 public void setBackgroundColor(NSColor color) { 39 public void setBackgroundColor(NSColor color) {
40 OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color !is null ? color.id : null); 40 OS.objc_msgSend(this.id, OS.sel_setBackgroundColor_, color !is null ? color.id : null);
41 } 41 }
42 42
43 public void setButtonType(objc.id aType) { 43 public void setButtonType(NSButtonType aType) {
44 OS.objc_msgSend(this.id, OS.sel_setButtonType_, aType); 44 OS.objc_msgSend(this.id, OS.sel_setButtonType_, aType);
45 } 45 }
46 46
47 public void setImagePosition(objc.id aPosition) { 47 public void setImagePosition(NSCellImagePosition aPosition) {
48 OS.objc_msgSend(this.id, OS.sel_setImagePosition_, aPosition); 48 OS.objc_msgSend(this.id, OS.sel_setImagePosition_, aPosition);
49 } 49 }
50 50
51 public NSString title() { 51 public NSString title() {
52 objc.id result = OS.objc_msgSend(this.id, OS.sel_title); 52 objc.id result = OS.objc_msgSend(this.id, OS.sel_title);