FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
199
Product Page
Document Feedback Copyright © Bridgetek Limited
5.33 CMD_PROGRESS - draw a progress bar
C prototype
void cmd_progress( int16_t x,
int16_t y,
int16_t w,
int16_t h,
uint16_t options,
uint16_t val,
uint16_t range );
Parameters
x
x-coordinate of progress bar top-left, in pixels
y
y-coordinate of progress bar top-left, in pixels
w
width of progress bar, in pixels
h
height of progress bar, in pixels
options
By default the progress bar is drawn with a 3D effect and the value of options
is zero. Options OPT_FLAT removes the 3D effect and its value is 256
val