Component: Dial control (Misc): Difference between revisions
Appearance
No edit summary |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 92: | Line 92: | ||
===GetPos=== | ===GetPos=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetPos''' | ||
|- | |- | ||
| colspan="2" | Gets the position of the pointer | | colspan="2" | Gets the position of the pointer | ||
| Line 106: | Line 106: | ||
===SetAngles=== | ===SetAngles=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetAngles''' | ||
|- | |- | ||
| colspan="2" | Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45 | | colspan="2" | Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45 | ||
| Line 130: | Line 130: | ||
===SetLabel=== | ===SetLabel=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetLabel''' | ||
|- | |- | ||
| colspan="2" | Sets the label to draw in the center of the dial | | colspan="2" | Sets the label to draw in the center of the dial | ||
| Line 154: | Line 154: | ||
===SetMarks=== | ===SetMarks=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetMarks''' | ||
|- | |- | ||
| colspan="2" | Decides on the presentation of the dial | | colspan="2" | Decides on the presentation of the dial | ||
| Line 183: | Line 183: | ||
===SetPos=== | ===SetPos=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetPos''' | ||
|- | |- | ||
| colspan="2" | Sets the position of the dial, bounded to the pre-set range | | colspan="2" | Sets the position of the dial, bounded to the pre-set range | ||
| Line 207: | Line 207: | ||
===SetRange=== | ===SetRange=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetRange''' | ||
|- | |- | ||
| colspan="2" | Sets the min-max range to draw on the dial Used for setting the needle | | colspan="2" | Sets the min-max range to draw on the dial Used for setting the needle | ||
| Line 231: | Line 231: | ||
===SetTarget=== | ===SetTarget=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetTarget''' | ||
|- | |- | ||
| colspan="2" | Sets the target of change messages Send 0 as the target ID to disable | | colspan="2" | Sets the target of change messages Send 0 as the target ID to disable | ||
| Line 256: | Line 256: | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|} | |} | ||
Latest revision as of 14:23, 13 July 2026
| Author | |
| Version | 1.1 |
| Category | Misc |
Dial control component
Dial output control
Component Source Code
Please click here to download the component source project: FC_Comp_Source_dial.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_dial.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetPos
| GetPos | |
| Gets the position of the pointer | |
| Return | |
SetAngles
| SetAngles | |
| Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45 | |
| Start | |
| End | |
| Return | |
SetLabel
| SetLabel | |
| Sets the label to draw in the center of the dial | |
| Hi | |
| Lo | |
| Label to draw at the bottom | |
| Return | |
SetMarks
SetPos
SetRange
| SetRange | |
| Sets the min-max range to draw on the dial Used for setting the needle | |
| Start | |
| End | |
| Return | |
SetTarget
Property reference
| Properties |