1 jls.loader.provide('jls.win32.Image'); 2 3 jls.loader.requireLibrary('jls_win32'); 4 5 jls.win32.Image = jls.lang.Class.create( 6 { 7 initialize : function(filename, type, x, y) { 8 this._no = new _native.win32.Image(filename, type, x, y); 9 }, 10 getType : function() { 11 return this._no.getType(); 12 }/*, 13 handle : function() { 14 return this._no.handle(); 15 }*/ 16 }); 17 18 Object.extend(jls.win32.Image, 19 { 20 IMAGE_BITMAP : 0, 21 IMAGE_ICON : 1, 22 IMAGE_CURSOR : 2 23 }); 24 25 //Object.inheritConstants(jls.win32.Image, _native.win32.Image); 26