1 jls.loader.provide('jls.win32.Pen'); 2 3 jls.loader.requireLibrary('jls_win32'); 4 5 jls.win32.Pen = jls.lang.Class.create( 6 { 7 initialize : function(r, g, b, width, style) { 8 this._no = new _native.win32.Pen(r, g, b, width || 1, style || jls.win32.Pen.PS_SOLID); 9 } 10 }); 11 12 /*Object.extend(jls.win32.Pen, 13 { 14 _nop : null, 15 nop : function() { 16 } 17 });*/ 18 19 Object.inheritConstants(jls.win32.Pen, _native.win32.Pen); 20