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. | |
|  - UINT | Return | 
ModifyBitmap
|   | ModifyBitmap | 
| Allows the bitmap image to be swapped out | |
|  - STRING | Filename | 
| Bitmap filename in 8.3 file format | |
|  - BOOL | Redraw | 
| Allows the bitmap to be redrawn immediatley or later on. | |
|  - VOID | Return | 
ModifyColour
|   | ModifyColour | 
| Changes the theme index of the selected Object or Widget. | |
|  - BYTE | Index | 
| 0=Transparent, 1=Text | |
|  - BYTE | R | 
|  - BYTE | G | 
|  - BYTE | B | 
|  - BOOL | Redraw | 
|  - VOID | Return | 
ModifyPosition
|   | ModifyPosition | 
| Moves an existing object or Widget to absolute coordinates on the screen. | |
|  - INT | X | 
|  - INT | Y | 
|  - BOOL | Relative | 
| 0=Absolute Positioning, 1=Relative Positioning | |
|  - VOID | Return | 
ModifyScale
|   | ModifyScale | 
| Changes the width and height of the selected Object or Widget. | |
|  - UINT | Width | 
|  - UINT | Height | 
|  - VOID | Return | 
SetTextFloat
SetTextLabel
|   | SetTextLabel | 
| Draws a string onto an object or Widget location. | |
|  - STRING | Text | 
| Text string to set as the label | |
|  - VOID | 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









