Difference between revisions of "Component: Display Manager (Graphical Library)"
From Flowcode Help
Jump to navigationJump to searchLine 16: | Line 16: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 24: | Line 26: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 76: | Line 80: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT |
| width="90%" | X | | width="90%" | X | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT |
| width="90%" | Y | | width="90%" | Y | ||
|- | |- |
Revision as of 13:32, 17 November 2021
Author | MatrixTSL |
Version | 1.0 |
Category | Graphical Library |
Contents
Display Manager component
A component designed to simplify the process of drawing primitives and text onto a graphical display. Keeps track of coordinates so you don't have to. Also works great as a base layer for gLCD based games as it will check for collisions and perform movement.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
MoveObject |
Moves an existing object to absolute coordinates on the screen. | |
![]() |
ObjectID |
![]() |
X |
![]() |
Y |
![]() |
Return |
![]() |
ShiftObject |
Shifts an existing object coordinates on the screen relative to the previous coordinates. | |
![]() |
ObjectID |
![]() |
X |
![]() |
Y |
![]() |
Return |
![]() |
DrawObject |
Draws a single object onto the display without clearing the display. Doesn't draw a textfield component, this is done using the SetObjectText macro. | |
![]() |
ObjectID |
![]() |
Return |
![]() |
ScaleObject |
Changes the width and height of the selected Object | |
![]() |
ObjectID |
![]() |
Width |
![]() |
Height |
![]() |
Return |
![]() |
RedrawAll |
Clears the display and redraws all the content from the display manager objects. Doesn't draw textfield components, this is done using the SetObjectText macro. | |
![]() |
Return |
![]() |
CreateObject |
Define an object on the graphical LCD. Returns the Object ID. | |
![]() |
ObjectType |
![]() |
X |
![]() |
Y |
![]() |
Width |
![]() |
Height |
![]() |
Return |