Search Results

Search results 1-5 of 5.

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

  • Checked that the GUI_TOUCH_StoreStateEx was being called in the touch driver. It was not, enabled interrupts and all is well with the world. Problem solved.

  • SwipeList Motion Support

    andrew@inventure - - emWin related

    Post

    I am trying to use the Swipelist example WIDGET_SwipeList.c. The example builds and runs, but does not receive any input. When clicking on the items the background does not turn green, and when clicking on the checkboxes they do not show they are checked. I also tried the MOTION_SmartPhoneMenu, and MOTION_MovingWindow examples, and they do not detect inputs through the touch screen as well. What is needed to make the MOTION input work other than enabling it via WM_MOTION_Enable(1), so I can util…

  • Fixed the issue. The problem lied within the PROGBAR_SetValue function. It invalidates a small rectangle between the upper and lower (vertical) prog bar colors. This rectangle is not large enough to capture the whole radius, thus causing the drawing issues shown in the picture. To fix this I created my own function PROGBAR_SetValueR that adds extra height to the invalid rectangle to be redrawn.

  • If you are wanting to skin the whole checkbox button not just the checkmark using two different bitmaps. You will need to draw the unchecked bitmap in the WIDGET_ITEM_DRAW_BUTTON case. C Source Code (18 lines)

  • I want to make a progress bar with the inner bar color rounded on top. I have used the skin provided by initialDraw and modified line 47 to use UserRect instead of Rect as this would draw the rounded portion of the rectangle in the clipping area. This works on the initial draw operation as shown in the picture intialDraw, but on subsequent draws it does not work as shown in this reDraw picture. While stepping through the code on every redraw the green rounded rectangle does not draw over the who…