Search Results

Search results 1-20 of 71.

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

  • Just a wild guess! Try increasing Buffer size alloted in GUIConf.c. It might be due to less memory allocation.

  • PNG Image as Background

    Amit - - emWin related

    Post

    Please use libpng library for direct use of PNG images. Its mentioned in the manual Best way is to convert PNG images in bitmaps using BitmapConverter tool available in package & then use it as a bitmap image.

  • Request you to share the code snippet of that overwritten callback function

  • Are you using default button or you have overwritten its callback function ?

  • Dear Sven, Thank you so much for your kind reply and guidance. So It looks like WM_PRE_PAINT gets called everytime when redrawing is needed and that's what causing this behaviour. I'll avoid calling it from there and check the behaviour. Thanks

  • Hi, I have 3 child windows located at (15,15) with size (320,240). All 3 windows belong to same parent and created with WM_CreateWindowAsChild(). Each window has an OK button , if touched, it closes that respective window with WM_DeleteWindow(); All child window's callback routine is having WM_MakeModal(pMsg->hWin) in their WM_PREPAINT case. Problem: When 3 windows are drawn on the top of each other, I press on OK button on Topmost window which closes that window. Now Im not able to press on OK …

  • Solved my doubts! Thank you Seven for your valuable inputs. :)

  • Hello Sven, Thank you so much for guiding. I have read this chapter. The code snippet provided by you is working great. Thanks for that. It solved my confusions. Only 1 problem i found that while saving a .dta file if i choose "True Color with alpha , r/b swapped, alpha inverted" then i'm not able to see the image on display. What could be the problem ? I was using this option as i have understanding that this option will take less time with GUI_DrawBitmap (); Can you please tell me which option…

  • Loading from External SD card

    Amit - - emWin related

    Post

    Hi , I'm using GUI_DrawBitmap API in my project currently. Bitmaps are created by using BitmapConverter. Now i've to move images to SD card. How i can use GUI_DrawBitmap in this case ? I did not find any API which i can use at the place of GUI_DrawBitmap. Please guide!

  • Quote from SEGGER - Schoenen: “Hi, Unfortunately I do not have any code exsamples. But I would suggest either to create a new widget from scratch or to overwrite the callback of the progressbar widget and handle the drawing and the touch input. For creating a custom widget, please take a look into this application note: segger.com/downloads/emwin/AN03002_Custom_Widget_Type.pdf Regards, Sven” Hi Sven, I'm using 2D- Graphic Library to draw that ring based on timer. How can i move or draw that smal…

  • Thank you Sven for your inputs! I checked and found that its working with community version also.

  • LCD Orientation and Co-ordinates

    Amit - - emWin related

    Post

    Thank you Sven for your inputs!

  • Thank you Sven for your inputs!

  • Expected performance results

    Amit - - emWin related

    Post

    Thank you Sven for your inputs!

  • Video streaming

    Amit - - emWin related

    Post

    Thank you Sven for your inputs!

  • How to create a progress bar in ring shape ? Similar to one shown below ? In this case only outer ring with Dot and the couter should increament! I understood that with skin we can implement. But for better clarification if you can share some code snippet of this implementation it would be better.

  • Expected performance results

    Amit - - emWin related

    Post

    Hi, It would be helpful if you provide following details to us : 1) What are the expected results of BASIC_DriverPerformance.c ? 2) BASIC_Performance.c should give minimum loops value > 11000 loops. Is this our understanding correct ? 3) Do these both benchmark results change with respect to LCD sizes ?

  • emWin and Visual studio compability

    Amit - - emWin related

    Post

    Hi, Which all versions of Visual Studio are supported by EmWin ?

  • LCD Orientation and Co-ordinates

    Amit - - emWin related

    Post

    Hi, i have LCD of size 320x240. I have window of size 320x100 located at (0,140). If i change orientation of LCD by 90 degress, how i make these co-ordinates proportionate with this new orientation ? Please provide example code if you have any!

  • Video streaming

    Amit - - emWin related

    Post

    Hi, We have video data in pixel format. With direct LCD drawing we are able to show it on LCD. How EmWin can be used to show this video data with Faster speeds and less memory consumption ? I understand that i can use GUI_MEMDEV_GetDataPtr() to get the pointer of memory device and then use GUI_MEMDEV_CopyToLCD() to show it on LCD. Is there any better way to do this? Can you please share any example to stream video data which is in pixel form ? We are currently evaluating EmWin for our applicatio…