comparison dwt/internal/cocoa/NSTextTableBlock.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
33 super(id); 33 super(id);
34 } 34 }
35 35
36 public NSInteger columnSpan () 36 public NSInteger columnSpan ()
37 { 37 {
38 return cast(NSInteger) OS.objc_msgSend(this.id, OS.sel_columnSpan); 38 return cast(NSInteger) OS.objc_msgSend(this.id_, OS.sel_columnSpan);
39 } 39 }
40 40
41 public id initWithTable (NSTextTable table, NSInteger row, NSInteger rowSpan, NSInteger col, NSInteger colSpan) 41 public id initWithTable (NSTextTable table, NSInteger row, NSInteger rowSpan, NSInteger col, NSInteger colSpan)
42 { 42 {
43 objc.id result = OS.objc_msgSend(this.id, OS.sel_initWithTable_1startingRow_1rowSpan_1startingColumn_1columnSpan_1, 43 objc.id result = OS.objc_msgSend(this.id_, OS.sel_initWithTable_1startingRow_1rowSpan_1startingColumn_1columnSpan_1,
44 table !is null ? table.id : null, row, rowSpan, col, colSpan); 44 table !is null ? table.id_ : null, row, rowSpan, col, colSpan);
45 return result !is null ? new id(result) : null; 45 return result !is null ? new id(result) : null;
46 } 46 }
47 47
48 public NSInteger rowSpan () 48 public NSInteger rowSpan ()
49 { 49 {
50 return cast(NSInteger) OS.objc_msgSend(this.id, OS.sel_rowSpan); 50 return cast(NSInteger) OS.objc_msgSend(this.id_, OS.sel_rowSpan);
51 } 51 }
52 52
53 public NSInteger startingColumn () 53 public NSInteger startingColumn ()
54 { 54 {
55 return cast(NSInteger) OS.objc_msgSend(this.id, OS.sel_startingColumn); 55 return cast(NSInteger) OS.objc_msgSend(this.id_, OS.sel_startingColumn);
56 } 56 }
57 57
58 public NSInteger startingRow () 58 public NSInteger startingRow ()
59 { 59 {
60 return cast(NSInteger) OS.objc_msgSend(this.id, OS.sel_startingRow); 60 return cast(NSInteger) OS.objc_msgSend(this.id_, OS.sel_startingRow);
61 } 61 }
62 62
63 public NSTextTable table () 63 public NSTextTable table ()
64 { 64 {
65 objc.id result = OS.objc_msgSend(this.id, OS.sel_table); 65 objc.id result = OS.objc_msgSend(this.id_, OS.sel_table);
66 return result !is null ? new NSTextTable(result) : null; 66 return result !is null ? new NSTextTable(result) : null;
67 } 67 }
68 68
69 } 69 }