comparison dwt/widgets/Widget.d @ 51:e6f04eb518ae

Updated Canvas to 3.514
author Jacob Carlborg <doob@me.com>
date Sun, 07 Dec 2008 21:24:13 +0100
parents 9dd4a17513f9
children 62202ce0039f
comparison
equal deleted inserted replaced
50:30adfb32d4be 51:e6f04eb518ae
213 NSBezierPath getClipping () { 213 NSBezierPath getClipping () {
214 return null; 214 return null;
215 } 215 }
216 216
217 objc.id attributedSubstringFromRange (objc.id id, objc.SEL sel, objc.id range) { 217 objc.id attributedSubstringFromRange (objc.id id, objc.SEL sel, objc.id range) {
218 return 0; 218 return null;
219 } 219 }
220 220
221 void callSuper(objc.id id, objc.SEL sel, objc.id arg0) { 221 void callSuper(objc.id id, objc.SEL sel, objc.id arg0) {
222 objc_super super_struct = objc_super(); 222 objc_super super_struct = objc_super();
223 super_struct.receiver = id; 223 super_struct.receiver = id;
269 super_struct.receiver = id; 269 super_struct.receiver = id;
270 super_struct.super_class = OS.objc_msgSend(id, OS.sel_superclass); 270 super_struct.super_class = OS.objc_msgSend(id, OS.sel_superclass);
271 return OS.objc_msgSendSuper(super_struct, sel, arg0); 271 return OS.objc_msgSendSuper(super_struct, sel, arg0);
272 } 272 }
273 273
274 int /*long*/ characterIndexForPoint (objc.id id, objc.SEL sel, objc.id point) { 274 NSInteger characterIndexForPoint (objc.id id, objc.SEL sel, objc.id point) {
275 return OS.NSNotFound; 275 return OS.NSNotFound;
276 } 276 }
277 277
278 bool acceptsFirstResponder (objc.id id, objc.SEL sel) { 278 bool acceptsFirstResponder (objc.id id, objc.SEL sel) {
279 return callSuperBoolean(id, sel); 279 return callSuperBoolean(id, sel);
1454 if (isValidThread ()) string = getNameText (); 1454 if (isValidThread ()) string = getNameText ();
1455 } 1455 }
1456 return getName () ~ " {" ~ string ~ "}"; 1456 return getName () ~ " {" ~ string ~ "}";
1457 } 1457 }
1458 1458
1459 int /*long*/ validAttributesForMarkedText (objc.id id, objc.SEL sel) { 1459 objc.id validAttributesForMarkedText (objc.id id, objc.SEL sel) {
1460 return 0; 1460 return null;
1461 } 1461 }
1462 1462
1463 void tabView_didSelectTabViewItem(objc.id id, objc.SEL sel, objc.id tabView, objc.id tabViewItem) { 1463 void tabView_didSelectTabViewItem(objc.id id, objc.SEL sel, objc.id tabView, objc.id tabViewItem) {
1464 } 1464 }
1465 1465