function initSettings() {
recalcCoord('Cr', 'scale');
recalcCoord('Ci', 'scale');
+ if (!window.opener)
+ window.getButton('extra1').disabled = true;
}
function drawPreview() {
function roundCoord(floatval) {
// We should round to 10 decimals here or so
return floatval;
+}
+
+function callDrawImage() {
+ window.opener.drawImage();
+ window.close();
}
\ No newline at end of file