2016-05-12 03:57 AM
Hello,
I have a problem with bitmap displaying using IMAGE_SetBMP as a widget. I can display using GUI_BMP_Draw but I cannot as a item of parent window. Can you help where is a problem? regards, Piotr2016-05-13 09:12 AM
Hi,
I think that there are a differences between theses functions regarding passed parameters:- ''GUI_BMP_Draw'' Draws a BMP file which has been loaded into memory. Prototype: int GUI_BMP_Draw(const void * pFileData, int x0, int y0);- ''IMAGE_SetBMP'' Sets a BMP file to be displayedPrototype: void IMAGE_SetBitmap(IMAGE_Handle hWin, const GUI_BITMAP * pBitmap);For more details, I suggest you to have a look tohttp://www.segger.com/admin/uploads/productDocs/UM03001_emWin5.pdf
User Manual.Regards