From ca1a67f78f7de40a7956c69e41f4ddae2542f4f2 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 2 Jul 2018 22:51:03 +0530 Subject: add options block --- js/Sinks/CMSCOPE.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'js/Sinks/CMSCOPE.js') 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"])) -- cgit