Search Results

Search results 1-20 of 675.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Shifting of screen

    SEGGER - Schoenen - - emWin related

    Post

    Hi, NXP did it slightly different. Instead of a LCDConf.c they have a file named emwin_support.c. This file would be interesting. I guess you are using the emWin project which comes with the SDK of the iMXRT1050. I will try to reproduce the behavior. Regards, Sven

  • Flickering UI

    SEGGER - Schoenen - - emWin related

    Post

    Hi, With GUIDRV_FlexColor there is no multibuffering available. In this case you have to use a cached version of your driver. When setting up the driver you call GUIDRV_FlexColor_SetFunc(). The last parameter defines whether the driver should use a cache or not. For example: GUIDRV_FLEXCOLOR_M16C1B8 -> with cache GUIDRV_FLEXCOLOR_M16C0B8 -> without cache When calling WM_MULTIBUF_Enable() the Window Manager makes sure to lock the cache before a drawing operation and to release the cache after the…

  • Hi, Good to know it is working. Which version of emWin are you using? With version V5.48 we have changed the internal color format emWin calculates with, but in general this shouldn't effect 16bit color conversion. Regards, Sven

  • Hi, Which color conversion are you using? If you are using a driver with 16bit color depths try to use GUICC_565 instead of GUICC_M565 or the other way around. With GUICC_565 the color bits have are order like BGR, with GUICC_M565 they are RGB. Regards, Sven

  • Flickering UI

    SEGGER - Schoenen - - emWin related

    Post

    Hi, You should use multi buffering to avoid flickering. Simply call WM_MULTIBUF_Enable() after GUI_Init(). Please make sure you configured multi buffering properly in your LCDConf.c. Multi buffering is only available when using the GUIDRV_Lin driver. When using the GUIDRV_FlexColor driver a driver version with cache has to be used. Which driver are you using? Which device are you using? Regards, Sven

  • Shifting of screen

    SEGGER - Schoenen - - emWin related

    Post

    Hi, Which device are you using? Is it possible to attach your configuration files (LCDConf.c/.h and GUIConf.c/.h)? Which version of emWin are you using? Regards, Sven

  • Hi, I was able to reproduce this with version 5.44b. With the current version 5.48 it is solved. Since you got the source code of emWin you can simply add the line below into the function body of LISTBOX_EnableWrapMode() right before the call of GUI_UNLOCK(). Add this: GUI_UNLOCK_H(pObj); Regards, Sven

  • DROPDOWNs and EDITs

    SEGGER - Schoenen - - emWin related

    Post

    Hi, One more point. The release is not generated by the EDIT widget. The Window Manager checks which widget is under the release event and generates the proper messages. Regards, Sven

  • Hi, Is it possible to send me the font file or provide me with a download link? Regards, Sven

  • Hi, You can switch back to the classic skin by calling <WIDGET>_SetDefaultSkinClassic(). In you case it would be SCROLLBAR_SetDefaultSkinClassic(). Regards, Sven

  • Hi, emWin uses for a lot of widget skinning and some functions for setting properties do not work with skinning. In this case you have to use the function <WIDGET>_SetSkinFlexProps(). In your case this would be DROPDOWN_SetSkinFlexProps(). Please refer to the emWin user manual for more information about skinning. With skinning it is also possible to set a callback which manages only the drawing of a widget. Regards, Sven

  • DROPDOWNs and EDITs

    SEGGER - Schoenen - - emWin related

    Post

    Hi Peter, The only way how to avoid this is to set a flag when the EDIT widget has been clicked and check this flag if it is set when you get a release from the EDIT widget. If the release occurs when touching the overlaying EDIT widget you will get only the release message. So, if no clicked occurred you can sort this one out. The release happens becasue the LISTBOX of the dropdown gets deleted right on a click on it. Now the touch is still pressed and the next release gets processed on the pos…

  • Hi, When clicking on save, what does it say in the lower left corner of the Font Converter? Please note that it might take a while if you create large fonts. Regards, Sven

  • Hi, You can call MULTIEDIT_AddKey(hItem, GUI_KEY_DELETE); for deleting characters on right side of the courser and MULTIEDIT_AddKey(hItem, GUI_KEY_BACKSPACE); to delete a character left of the courser. Regards, Sven

  • Hi, what kind of font is this? Is it a ttf file? What do you mean by not able to generate a c-file? Does it produce a strange output? Does the tool crash? Regards, Sven

  • Hi, so you you pass the handle of a deleted window to the function WM_IsVisible()? The return value can be anything if the window handle is not valid. Regards, Sven

  • Hi, It shouldn't be necessary to manually fill the device with transparnecy. It should work with GUI_SetBkColor(GUI_TRANSPARENT) and GUI_Clear(). Regards, Sven

  • Hi, Yes, you can store the .xbf file in flash memory, too. I guess we don't have a dedicated example on how to do this. But, take a look into the examples attached maybe it is something you are looking for. Regards, Sven

  • Hi, when merging to fonts you can combine one set of character with another one. For example, you got one set of latin cahracters and want to combine those with a set of cyrillic you can merge two fonts. It is not possible to merge two fonts with the same character set (two times latin characters). Regards, Sven

  • Hi, I can not simply give you the GUIDRV_FlexColor driver. Please ask NXP to provide you with a set of libraries which does contain the driver or purchase the driver from our website. Regards, Sven