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