EasyManua.ls Logo

Bridgetek FT801 - CMD_SLIDER - draw a slider

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
205
Product Page
Document Feedback Copyright © Bridgetek Limited
5.35 CMD_SLIDER draw a slider
C prototype
void cmd_slider( 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 slider top-left, in pixels
y
y-coordinate of slider top-left, in pixels
w
width of slider, in pixels. If width is greater than height, the scroll bar is
drawn horizontally
h
height of slider, in pixels. If height is greater than width, the scroll bar is
drawn vertically
options
By default the slider is drawn with a 3D effect. OPT_FLAT removes the 3D
effect
val
Displayed value of slider, between 0 and range inclusive

Table of Contents