view inkscape/firefox/content/main.js @ 619:7020ed3c3e37 openvg

Actiavte a VGImage before using a pattern paint or image surface. - A VGImage can only activated for a pattern or an image in any instance. - _ge_openvg_img trace the object activated for currently and its deactivation function. - everytime a pattern paint or image surface will be used, the current activated one will be deactivated, and activate a new one.
author Thinker K.F. Li <thinker@branda.to>
date Thu, 08 Jul 2010 18:44:26 +0800
parents 45e04408fc19
children
line wrap: on
line source

var last_select;
var wizard;
jQuery(document).ready(function() {
		if (loadOldProject()) {
			filedialog = jQuery('#filedialog');
			filedialog.dialog({width:500,
				   modal: true,
			           autoOpen:false,
				   title:'Please select a file'});
			filedialog.show();
			filedialog.html('Please select the project file<br>');
			filedialog.append('<input type=file value="Select the project file" id="mbsvg" accept="image/png">');
			filedialog.append('<input type=button value="Load" onclick="project_loadFile()">');
			filedialog.dialog("open");
			last_select = null;
			wizard = new Wizard();
			wizard.cb = onLoadProject;
			$('#filedialog').dialog({ width:500});
			$('#frame').draggable();
			$('#btns').draggable({cursor:'crosshair'});
			$('#list').tabs();
			$('#display').tabs();
		}
		});