EasyManua.ls Logo

Bridgetek FT801 - Command groups

Default Icon
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
153
Product Page
Document Feedback Copyright © Bridgetek Limited
5.10 Co-processor engine resources
The co-processor engine does not change hardware graphics state. That is, graphics
states such as color and line width are not to be changed by co-processor engine.
However, the widgets do reserve some hardware resources, which user programs need
take into account:
Bitmap handle 15 is used by the 3D-effect buttons, keys and gradient.
One graphics context is used by objects, so the effective stack depth for
SAVE_CONTEXT and RESTORE_CONTEXT commands is 3 levels.
5.11 Command groups
These commands begin and finish the display list:
CMD_DLSTART - start a new display list
CMD_SWAP - swap the current display list
Commands to draw graphics objects:
CMD_TEXT - draw text
CMD_BUTTON - draw a button
CMD_CLOCK - draw an analog clock
CMD_BGCOLOR - set the background color
CMD_FGCOLOR - set the foreground color
CMD_GRADCOLOR - set the 3D effects for CMD_BUTTON and CMD_KEYS
highlight color
CMD_GAUGE - draw a gauge
CMD_GRADIENT - draw a smooth color gradient
CMD_KEYS - draw a row of keys
CMD_PROGRESS - draw a progress bar
CMD_SCROLLBAR - draw a scroll bar
CMD_SLIDER - draw a slider
CMD_DIAL - draw a rotary dial control
CMD_TOGGLE - draw a toggle switch
CMD_NUMBER - draw a decimal number
Commands to operate on memory:
CMD_MEMCRC - compute a CRC-32 for memory
CMD_MEMZERO - write zero to a block of memory
CMD_MEMSET - fill memory with a byte value
CMD_MEMWRITE - write bytes into memory
CMD_MEMCPY - copy a block of memory
CMD_APPEND - append memory to display list
Commands for loading image data into FT800 memory:
CMD_INFLATE - decompress data into memory
CMD_LOADIMAGE - load a JPEG image

Table of Contents