FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
150
Copyright © Bridgetek Limited
Table 10 Widgets color setup table
Widget
CMD_FGCOLOR
CMD_BGCOLOR
COLOR_RGB
CMD_TEXT
NO
NO
YES
CMD_BUTTON
YES
NO
YES(label)
CMD_GAUGE
NO
YES
YES(needle and
mark)
CMD_KEYS
YES
NO
YES(text)
CMD_PROGRESS
NO
YES
YES
CMD_SCROLLBAR
YES(Inner bar)
YES(Outer bar)
NO
CMD_SLIDER
YES(Knob)
YES(Right bar of
knob)
YES(Left bar of
knob)
CMD_DIAL
YES(Knob)
NO
YES(Marker)
CMD_TOGGLE
YES(Knob)
YES(Bar)
YES(Text)
CMD_NUMBER
NO
NO
YES
CMD_CALIBRATE
YES(Animating dot)
YES(Outer dot)
NO
CMD_SPINNER
NO
NO
YES
5.8
Co-processor engine graphics state
The co-processor engine maintains a small amount of internal states for graphics
drawing. This state is set to the default at co-processor engine reset, and by
CMD_COLDSTART. The state values are not affected by CMD_DLSTART or CMD_SWAP,
so an application need only set them once at startup.
Table 11 Co-processor engine graphics state
State
Default
Commands
background color
dark blue (0x002040)
CMD_BGCOLOR
foreground color
light blue (0x003870)
CMD_FGCOLOR
gradient color
white (0xffffff)
CMD_GRADCOLOR
spinner
None
CMD_SPINNER
object trackers
all disabled
CMD_TRACK
interrupt timer
None
CMD_INTERRUPT