summaryrefslogtreecommitdiff
path: root/js/Sinks/CANIMXY.js
diff options
context:
space:
mode:
authorSunil Shetye2018-09-17 16:11:31 +0530
committerSunil Shetye2018-10-08 11:24:12 +0530
commitf389f174481df676c841ebcc87a7b8b313921bbc (patch)
tree2551fd05222a78d4441f5883a97980bda1d6b241 /js/Sinks/CANIMXY.js
parent4dc055ae23c9e33e459b7b583a67f92b5972a062 (diff)
downloadsci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.gz
sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.bz2
sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.zip
add importset and getContainer to combined.js
Diffstat (limited to 'js/Sinks/CANIMXY.js')
-rw-r--r--js/Sinks/CANIMXY.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/js/Sinks/CANIMXY.js b/js/Sinks/CANIMXY.js
index 2625d745..d5387758 100644
--- a/js/Sinks/CANIMXY.js
+++ b/js/Sinks/CANIMXY.js
@@ -132,4 +132,20 @@ function CANIMXY() {
CANIMXY.prototype.get_popup_title = function CANIMXY() {
return this.set_param_popup_title;
}
+ CANIMXY.prototype.importset = function CANIMXY() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.nbr_curves = ary[0];
+ this.clrs = ary[1];
+ this.siz = ary[2];
+ this.win = ary[3];
+ this.wpos = ary[4];
+ this.wdim = ary[5];
+ this.xmin = ary[6];
+ this.xmax = ary[7];
+ this.ymin = ary[8];
+ this.ymax = ary[9];
+ this.N = ary[10];
+ }
+ CANIMXY.prototype.getContainer = function CANIMXY() { return new BasicBlock(this.x); }
}