problem with displaying bitmap STemWIN using IMAGE widget
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-05-12 3:57 AM
Posted on May 12, 2016 at 12:57
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, Piotr
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-05-13 9:12 AM
Posted on May 13, 2016 at 18:12
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