FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
202
Copyright © Bridgetek Limited
5.34
CMD_SCROLLBAR – draw a scroll bar
C prototype
void cmd_scrollbar( int16_t x,
int16_t y,
int16_t w,
int16_t h,
uint16_t options,
uint16_t val,
uint16_t size,
uint16_t range );
Parameters
x
x-coordinate of scroll bar top-left, in pixels
y
y-coordinate of scroll bar top-left, in pixels
w
Width of scroll bar, in pixels. If width is greater than height, the scroll bar is
drawn horizontally
h
Height of scroll bar, in pixels. If height is greater than width, the scroll bar is
drawn vertically