Search Results

Search results 1-1 of 1.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • emwin

    Parker - - emWin related

    Post

    Hi,all~ When I was learning progress bars, I had trouble writing custom skin functions for the PROGBAR. How to write the PROGBAR color function in the custom function. /****************Customize skin functions****************************************/ static int _ProgbarSkin(const WIDGET_ITEM_DRAW_INFO *pDrawItemInfo) { WM_HWIN hWin; hWin = pDrawItemInfo->hWin; switch (pDrawItemInfo->Cmd) { /******************Draw the border*********************/ case WIDGET_ITEM_DRAW_FRAME: GUI_SetBkColor(GUI_BL…