Skip to content

Commit

Permalink
Add attribute documentation for cs.2click-inputs & -outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Dec 24, 2015
1 parent 8350746 commit e1ff07e
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/refpages/cs.2click_ref/cs.2click-inputs.maxref.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,32 @@
</methodlist>

<!--ATTRIBUTES-->
<attributelist>
<attribute name="label" get="1" set="1" type="int" size="1">
<digest>
Label Mode
</digest>
<description>
By default, all <o>cs.2click-inputs</o> modules are labelled “INPUTS”. Setting <m>@label</m> to 1 will turn on label mode, displaying the module’s unique name instead. This can be useful if you want to see your naming scheme at a glance. Default is 0.
</description>
<attributelist>
<attribute name="label" get="1" set="1" type="symbol" size="1" value="Label Mode" />
<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
</attributelist>
</attribute>
<attribute name="meter" get="1" set="1" type="int" size="1">
<digest>
Meter Mode
</digest>
<description>
By default, all <o>cs.2click-inputs</o> slots have handy metering LEDs behind their numbers, which light up to indicate signal presence. Setting <m>@meter</m> to 0 will turn off this metering. Default is 1.
</description>
<attributelist>
<attribute name="label" get="1" set="1" type="symbol" size="1" value="Meter Mode" />
<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
</attributelist>
</attribute>
</attributelist>

<!--EXAMPLE-->
<examplelist>
Expand Down
26 changes: 26 additions & 0 deletions docs/refpages/cs.2click_ref/cs.2click-outputs.maxref.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,32 @@
</methodlist>

<!--ATTRIBUTES-->
<attributelist>
<attribute name="label" get="1" set="1" type="int" size="1">
<digest>
Label Mode
</digest>
<description>
By default, all <o>cs.2click-outputs</o> modules are labelled “OUTPUTS”. Setting <m>@label</m> to 1 will turn on label mode, displaying the module’s unique name instead. This can be useful if you want to see your naming scheme at a glance. Default is 0.
</description>
<attributelist>
<attribute name="label" get="1" set="1" type="symbol" size="1" value="Label Mode" />
<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
</attributelist>
</attribute>
<attribute name="meter" get="1" set="1" type="int" size="1">
<digest>
Meter Mode
</digest>
<description>
By default, all <o>cs.2click-outputs</o> slots have handy metering LEDs behind their numbers, which light up to indicate signal presence. Setting <m>@meter</m> to 0 will turn off this metering. Default is 1.
</description>
<attributelist>
<attribute name="label" get="1" set="1" type="symbol" size="1" value="Meter Mode" />
<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
</attributelist>
</attribute>
</attributelist>

<!--EXAMPLE-->
<examplelist>
Expand Down

0 comments on commit e1ff07e

Please sign in to comment.