Tsev > Xov xwm > Ntsiab lus

CMD_SLIDER - Kos Ib Slider

Apr 27, 2019

image

C daim ntawv prototype

tsis muaj dabtsis cmd_slider (int16_t x,

int16_t y,

int16_t w,

int16_t h,

uint16_t xaiv,

uint16_t val,

uint16_t ntau);

Cov lus qhia

x

x-coordinate ntawm slider saum-sab laug, hauv pixels

y

y-coordinate ntawm slider saum-sab laug, hauv pixels

w

dav ntawm slider, hauv pixels. Yog qhov dav dav tshaj qhov siab, qhov khij nyiab yog

kos horizontally

h

qhov siab ntawm slider, hauv pixels. Yog tias qhov siab siab tshaj qhov dav, lub nqhis dej yog

kos vertically

kev xaiv

Yog vim li cas tus slider yog twv nrog 3D effect. OPT_FLAT tshem tawm cov 3D

nyhuv

val

Cov nqi ntawm slider pom, ntawm 0 thiab ntau ntu

ntau

Tus nqi siab tshaj plaws

Kev piav qhia

Xa mus rau CMD_PROGRESS kom paub ntxiv txog lub cev Dimension.

image

image

image