Hello,
Am using a Button widget and default skin is drawn for button widget. I have drawn a transparent bmp on the button widget but I see the button background and border of the button which i do not want. How to get rid of the background so that only the bmp area is visible. code below. The bmp is saved in high color with alpha (565) format using bitmap converter.
Button_Handle1 = BUTTON_CreateEx(215, 130, 44, 44, WM_HBKWIN, WM_CF_SHOW | WM_CF_HASTRANS, 0x0, GUI_ID_BUTTON0);
BUTTON_SetBitmapEx(Button_Handle1, BUTTON_BI_PRESSED,&bmincreaseButton_objOnly , 0, 0);
Regards,
Anuj
Am using a Button widget and default skin is drawn for button widget. I have drawn a transparent bmp on the button widget but I see the button background and border of the button which i do not want. How to get rid of the background so that only the bmp area is visible. code below. The bmp is saved in high color with alpha (565) format using bitmap converter.
Button_Handle1 = BUTTON_CreateEx(215, 130, 44, 44, WM_HBKWIN, WM_CF_SHOW | WM_CF_HASTRANS, 0x0, GUI_ID_BUTTON0);
BUTTON_SetBitmapEx(Button_Handle1, BUTTON_BI_PRESSED,&bmincreaseButton_objOnly , 0, 0);
Regards,
Anuj