Hi,
I am trying to create a custom draw function for the WHEEL widget.
From the documentation, here segger.com/doc/UM03001_emWin.html#User_drawn_widgets
I have to handle 5 cases in my custom draw function i.e. WIDGET_ITEM_GET_XSIZE, WIDGET_ITEM_GET_YSIZE, WIDGET_ITEM_DRAW, WIDGET_DRAW_BACKGROUND and WIDGET_DRAW_OVERLAY.
I have handled the cases relevant to my use case, but I am getting random values in
Why is it not working as expected?
I am trying to add alpha blending to the top and bottom of each of my wheel and I need custom draw function for that.
Please help, thanks!
I am trying to create a custom draw function for the WHEEL widget.
From the documentation, here segger.com/doc/UM03001_emWin.html#User_drawn_widgets
I have to handle 5 cases in my custom draw function i.e. WIDGET_ITEM_GET_XSIZE, WIDGET_ITEM_GET_YSIZE, WIDGET_ITEM_DRAW, WIDGET_DRAW_BACKGROUND and WIDGET_DRAW_OVERLAY.
I have handled the cases relevant to my use case, but I am getting random values in
pDrawInfo->Cmd
. Very large integers such as 333837784. Please refer to the screenshot.Why is it not working as expected?
I am trying to add alpha blending to the top and bottom of each of my wheel and I need custom draw function for that.
Please help, thanks!