Component: Bitmap (Graphical Manager Primitives)
From Flowcode Help
Jump to navigationJump to search
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Graphical Manager Primitives |
Contents
Bitmap component
A bitmap primitive used with the Graphical Manager on the GLCD Layout Editor panel. Requires a bitmap drawer GLCD library to be connected to the GLCD and the Display Manager.
Detailed description
No detailed description exists yet for this component
Examples
A simple example shows how to use a ASC712 to measure current range of +/- 5A. The component type can be changed within its properties.
Macro reference
GetID
| GetID | |
| Returns the assigned object/widget ID. | |
| Return | |
ModifyBitmap
| ModifyBitmap | |
| Allows the bitmap image to be swapped out | |
| Filename | |
| Bitmap filename in 8.3 file format | |
| Redraw | |
| Allows the bitmap to be redrawn immediatley or later on. | |
| Return | |
ModifyColour
| ModifyColour | |
| Changes the theme index of the selected Object or Widget. | |
| Index | |
| 0=Transparent, 1=Text | |
| 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_Bitmap.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_DC_Bitmap.fcfx