Glitching/pixelisation on WIDGET_Window partial screen paint

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

  • Glitching/pixelisation on WIDGET_Window partial screen paint

    Hello,

    I'm using WIDGET_Window as my dialog/container widget.



    After a GUI_ExecCreatedDialog, the first WM_PAINT paints the window
    perfectly. However, subsequent partial updates to the window causes the
    widget corners to be cut vertically about 2 pixels in width and 20 pixels in
    height leading to a transparent line. The entire window does NOT get
    glitches, only the corners and that too vertically at all the corners.

    The child widgets on the Window Widget dialog based are Image and Text. Dialog background is drawn with GUI_FillRoundRect() and dialog border is drawn with GUI_FillRect() and GUI_DrawArc() using Anti Aliasing for smooth rounded window corners.



    This effect is very much repeatable. Any and all help to do away with glitches will be appreciated.



    Segger help is most solicited.



    Regards,

    -Milind