1/*2 颜色条 3*/4 void ShowColorBar(void)5 { 6 int x0=60,y0=40,yStep=15,i;7 int NumColors=LCD_GetDevCap(LCD_DEVCAP_NUMCOLORS);8 int xsize=LCD_GetDevCap(LCD_DEVCAP_XSIZE)-x0;9 GUI_SetFont(&GUI_Font13HB_1);...
直接调用函数获得触屏位置:xPhys=GUI_TOUCH_GetxPhys();Get the A/D mesurement result in x*/yPhys=GUI_TOUCH_GetyPhys();Get the A/D mesurement result in y*/1 void MainTask_touch(void){ 2 GUI_Init();3 GUI_CURSOR_Show();...
gt;lt;直接调用函数获得触屏位置: xPhys=GUI_TOUCH_GetxPhys();Get the A/D mesurement result in x*/ yPhys=GUI_TOUCH_GetyPhys();Get the A/D mesurement result in y*/ 1 void MainTask_touch(void){ ...