Component: Rectangle (Graphical Manager Primitives): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
||
| Line 28: | Line 28: | ||
{| class="mtx-class-macrotable 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%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetID''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetID''' | ||
|- | |- | ||
| Line 42: | Line 42: | ||
{| class="mtx-class-macrotable 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%" style="background-color:#D8C9D8; color:#4B008D;" | '''ModifyColour''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ModifyColour''' | ||
|- | |- | ||
| Line 81: | Line 81: | ||
{| class="mtx-class-macrotable 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%" style="background-color:#D8C9D8; color:#4B008D;" | '''ModifyPosition''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ModifyPosition''' | ||
|- | |- | ||
| Line 110: | Line 110: | ||
{| class="mtx-class-macrotable 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%" style="background-color:#D8C9D8; color:#4B008D;" | '''ModifyScale''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ModifyScale''' | ||
|- | |- | ||
| Line 134: | Line 134: | ||
{| class="mtx-class-macrotable 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%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTextFloat''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTextFloat''' | ||
|- | |- | ||
| Line 163: | Line 163: | ||
{| class="mtx-class-macrotable 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%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTextLabel''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTextLabel''' | ||
|- | |- | ||
| Line 182: | Line 182: | ||
{| class="mtx-class-macrotable 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%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTextNumber''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTextNumber''' | ||
|- | |- | ||
Revision as of 14:17, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Graphical Manager Primitives |
Rectangle component
A rectangle primitive used with the Graphical Manager on the GLCD Layout Editor panel.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetID
| GetID | |
| Returns the assigned object/widget ID. | |
| Return | |
ModifyColour
| ModifyColour | |
| Changes the theme index of the selected Object or Widget. | |
| Index | |
| 0=Foreground, 1=Background, 2=Text, 3=Highlight | |
| R | |
| G | |
| B | |
| Redraw | |
| Return | |
ModifyPosition
| ModifyPosition | |
| Moves an existing object or Widget to absolute coordinates on the screen. | |
| X | |
| Y | |
| Relative | |
| 0=Absolute Positioning, 1=Relative Positioning | |
| Return | |
ModifyScale
| ModifyScale | |
| Changes the width and height of the selected Object or Widget. | |
| Width | |
| Height | |
| Return | |
SetTextFloat
SetTextLabel
| SetTextLabel | |
| Draws a string onto an object or Widget location. | |
| Text | |
| Text string to set as the label | |
| Return | |
SetTextNumber
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_DC_Rectangle.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_DC_Rectangle.fcfx