summaryrefslogtreecommitdiff
path: root/js/Sinks/CMSCOPE.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-02 22:51:03 +0530
committerSunil Shetye2018-07-02 22:51:03 +0530
commitca1a67f78f7de40a7956c69e41f4ddae2542f4f2 (patch)
tree6a07bd0428e542567726ff7325fcb71203ad6d15 /js/Sinks/CMSCOPE.js
parent5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff)
downloadsci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz
sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2
sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip
add options block
Diffstat (limited to 'js/Sinks/CMSCOPE.js')
-rw-r--r--js/Sinks/CMSCOPE.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/Sinks/CMSCOPE.js b/js/Sinks/CMSCOPE.js
index 808048b7..c0bf502b 100644
--- a/js/Sinks/CMSCOPE.js
+++ b/js/Sinks/CMSCOPE.js
@@ -31,6 +31,20 @@ function CMSCOPE() {
return this.x;
}
CMSCOPE.prototype.get = function CMSCOPE() {
+ var options = {
+ in1:["Input ports sizes",this.in1],
+ clrs:["Drawing colors (>0) or mark (<0)",this.clrs],
+ win:["Output window number (-1 for automatic)",this.win],
+ wpos:["Output window position",this.wpos],
+ wdim:["Output window sizes",this.wdim],
+ ymin:["Ymin vector",this.ymin],
+ ymax:["Ymax vector",this.ymax],
+ per:["Refresh period",this.per],
+ N:["Buffer size",this.N],
+ heritance:["Accept herited events 0/1",this.heritance],
+ nom:["Name of Scope (label&Id)",this.nom],
+ }
+ return options;
}
CMSCOPE.prototype.set = function CMSCOPE() {
this.in1 = parseFloat((arguments[0]["in1"]))