summaryrefslogtreecommitdiff
path: root/js/Misc/PAL_f.js
blob: c06c86e8528fc3f91df8ced2a8a17275f034fdb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* autogenerated from "macros/Misc/PAL_f.sci" */
function PAL_f() {
    PAL_f.prototype.define = function PAL_f() {
        scs = scicos_diagram();
        scs.props.title = "Palette";
        this.model = scicos_model();
        this.model.sim = new ScilabString(["palette"]);
        this.model.in1 = [];
        this.model.out = [];
        this.model.rpar = new ScilabDouble([scs]);
        this.model.blocktype = new ScilabString(["h"]);
        this.model.dep_ut = [false,false];
        gr_i = [];
        this.x = standard_define([2,2],this.model,[],gr_i);
        this.x.graphics.id = scs.props.title[1-1];
        return new BasicBlock(this.x);
    }
    PAL_f.prototype.details = function PAL_f() {
        return this.x;
    }
    PAL_f.prototype.get = function PAL_f() {
        var options = {
        }
        return options;
    }
    PAL_f.prototype.set = function PAL_f() {
        [this.x,newparameters,needcompile,edited] = scicos(arg1.model.rpar);
        arg1.graphics.id = this.x.props.title[1-1];
        arg1.model.rpar = this.x;
        this.x = arg1;
        y = [];
        typ = [];
        %exit = resume(false)
        return new BasicBlock(this.x);
    }
}