コード例 #1
0
ファイル: LLDNHighlight.cs プロジェクト: Reavenk/Phonics_Core
    protected override void _Init()
    {
        this.secrTitle             = new ParamText(LLDNBase.secretTitleProperty, "Highlight");
        this.secrTitle.description = "The text on the button";
        this.secrTitle.editable    = false;
        this.genParams.Add(this.secrTitle);

        this.buttonText             = new ParamText("Button", "Press Me");
        this.buttonText.description = "The button label text.";
        this.buttonText.editable    = false;
        this.genParams.Add(this.buttonText);

        this.actionString             = new ParamText("Action", "Nothing");
        this.actionString.description = "The action to perform. This is hardcoded to Precision Keyboard.";
        this.actionString.editable    = false;
        this.genParams.Add(this.actionString);

        this.secrWidth             = new ParamFloat(LLDNBase.secretWidthProperty, "pts", 0.0f, 0.0f, 1000.0f);
        this.secrWidth.description = "The width override of the node.";
        this.secrWidth.editable    = false;
        this.genParams.Add(this.secrWidth);

        this.fontScale          = new ParamFloat("FontScale", "multiplier", 1.0f, 0.0f, 10.0f);
        this.fontScale.editable = false;
        this.genParams.Add(this.fontScale);

        this.encase          = new ParamBool("Encase", "encasement", false);
        this.encase.editable = false;
        this.genParams.Add(this.encase);

        this.icon          = new ParamText("Icon", "");
        this.icon.editable = false;
        this.genParams.Add(this.icon);
    }
コード例 #2
0
    protected override void _Init()
    {
        this.secrTitle          = new ParamText(secretTitleProperty, "Comment");
        this.secrTitle.editable = false;
        this.genParams.Add(this.secrTitle);

        this.text             = new ParamText("text", "");
        this.text.description = "A comment left by the author giving some note about the Wiring - possibly specific to the region the comment was placed at.";
        this.genParams.Add(this.text);

        this.secrHeight          = new ParamFloat(secretHeightProperty, "pt", defaultHeight, 10.0f, 1000.0f);
        this.secrHeight.editable = false;
        this.genParams.Add(this.secrHeight);

        this.secrWidth          = new ParamFloat(secretWidthProperty, "pt", 0.0f, 0.0f, 1000.0f);
        this.secrWidth.editable = false;
        this.genParams.Add(this.secrWidth);

        this.fontScale          = new ParamFloat("FontScale", "multiplier", 1.0f, 0.0f, 10.0f);
        this.fontScale.editable = false;
        this.genParams.Add(this.fontScale);

        this.encase          = new ParamBool("Encase", "encasement", false);
        this.encase.editable = false;
        this.genParams.Add(this.encase);
    }
コード例 #3
0
    protected override void _Init()
    {
        this.input             = new ParamConnection("Input", null);
        this.input.description = "The audio signal that will be rerouted.";
        this.genParams.Add(this.input);

        this.buttonText             = new ParamText("Button", "Connect Out");
        this.buttonText.description = "The text on the button";
        this.buttonText.editable    = false;
        this.genParams.Add(this.buttonText);
    }