Tsev > Xov xwm > Ntsiab lus

Hais kom pawg

Apr 26, 2019

5.10 Cov cuab yeej siv roj cav

Lub tshuab pa hluav taws xob tsis hloov kho hauv lub xeev cov khoom siv hauv lub cev. Ntawd yog, graphics

lub xeev xws li xim thiab txoj kab dav tsis yuav tsum tau hloov los ntawm cov tshuab hluav taws xob.

Txawm li cas los xij, qhov khoos phis tamsim no cia qee cov khoom siv kho vajtse, uas cov kev pabcuam neeg siv

noj rau hauv koj tus account:

 Bitmap kov 15 yog siv cov nyees khawm 3D-effect, cov yaum sij thiab gradient.

 Ib lub ntsiab lus ntawm kev siv duab yog siv los ntawm cov khoom, yog li qhov tob qhov tob rau

SAVE_CONTEXT thiab RESTORE_CONTEXT lus txib 3 theem.


5.11 Pab pawg

Cov lus txib no pib thiab sau tiav cov lus sau:

 CMD_DLSTART - pib sau cov npe tshiab

 CMD_SWAP - pauv daim ntawv teev npe tam sim no

Txhawm rau kos duab cov khoom:

 CMD_TEXT - kos ntawv

 CMD_BUTTON - kos ib lub pob

 CMD_CLOCK - kos ib qho analog moos

 CMD_BGCOLOR - teem caij xim

 CMD_FGCOLOR - teem caij xim xim

 CMD_GRADCOLOR - teeb qhov 3D teebmeem rau CMD_BUTTON thiab CMD_KEYS

highlight xim

 CMD_GAUGE - kos ib qho ntsuas

 CMD_GRADIENT - kos ib lub xim zoo xim

 CMD_KEYS - kos ib kab yuam sij

 CMD_PROGRESS - kos ib qho kev ua tiav

 CMD_SCROLLBAR - kos ib qho bar

 CMD_SLIDER - kos tus slider

 CMD_DIAL - kos cov lus teb rau cov lus teb

 CMD_TOGGLE - kos lub toggle hloov

 CMD_NUMBER - kos ib tug zauv zauv

Cov lus txib khiav lag luam ntawm kev nco:

 CMD_MEMCRC - txheeb cov CRC-32 nco

 CMD_MEMZERO - sau xoom rau lub block of nco

 CMD_MEMSET - nco nco nrog ib tus nqi byte

 CMD_MEMWRITE - sau bytes rau hauv kev nco

 CMD_MEMCPY - luam ib lub cim xeeb ntawm kev nco

 CMD_APPEND - nco nco los tso saib cov npe

Commands rau loading duab cov ntaub ntawv rau hauv FT800 nco:

 CMD_INFLATE - hloov cov ntaub ntawv hauv lub cim xeeb

 CMD_LOADIMAGE - thauj khoom duab JPEG

Lus txib rau qhov kev hloov qhov kev hloov paj ntawm lub bitmap:

 CMD_LOADIDENTITY - teeb qhov kev hloov tshiab rau tus kheej

 CMD_TRANSLATE - siv tus txhais lus rau lub sijhawm tam sim no

 CMD_SCALE - siv qhov ntsuas mus rau qhov kev sib tw tam sim no

 CMD_ROTATE - siv ib qho kev hloov mus rau lub sijhawm tam sim no

 CMD_SETMATRIX - sau cov cim tam sim no ua ib qho kev hloov me ntsis

 CMD_GETMATRIX - rov qab muab cov qauv coefficients tam sim no

Lwm cov lus txib:

 CMD_COLDSTART - teeb lub tshuab ua haujlwm hauv lub tshuab ua haujlwm rau qhov tseem ceeb

 CMD_INTERRUPT - Tiv thaiv cuam tshuam INT_CMDFLAG

 CMD_REGREAD - nyeem tus nqi register

 CMD_CALIBRATE - ua kom muaj lub vijtsam npuaj ntsuas ntawm lub sijhawm

 CMD_SPINNER - pib ua cov kab lus animated

 CMD_STOP - nres txhua cov kiv, tsom iav los yog kos duab

 CMD_SCREENSAVER - pib ib qho screened screensaver

 CMD_SKETCH - pib hloov tshiab kev hloov tshiab

 CMD_SNAPSHOT - siv lub snapshot ntawm qhov screen tam sim no

 CMD_LOGO - ua si ntaus ntawv cim animation