Hello,
I need to rotate a pixelmap and display it in a GX_ICON.
I have found this old thread rotate-a-widget-image but I don't know how to display the rotated pixelmap.
Here is what I did :
#include "gui\My_resources.c"
GX_PIXELMAP rmap;
UINT centx, centy;
gx_utility_pixelmap_rotate(&PROJECT_THEME_1_PIXELMAP_TO_BE_ROTATED_pixelmap, angle, &rmap, ¢x, ¢y);
Following Karol's tips in this old topic I have edited My_resources.h and removed GX_CONST argument on the PROJECT_THEME_1_PIXELMAP_TO_BE_ROTATED_pixelmap structure but I don't know how to substitute gx_pixelmap_data pointer with the address of the rotated picture (rmap).