Search Results

Search results 1-6 of 6.

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

  • Hi, I am trying to create a custom draw function for the WHEEL widget. From the documentation, here segger.com/doc/UM03001_emWin.html#User_drawn_widgets I have to handle 5 cases in my custom draw function i.e. WIDGET_ITEM_GET_XSIZE, WIDGET_ITEM_GET_YSIZE, WIDGET_ITEM_DRAW, WIDGET_DRAW_BACKGROUND and WIDGET_DRAW_OVERLAY. I have handled the cases relevant to my use case, but I am getting random values in pDrawInfo->Cmd. Very large integers such as 333837784. Please refer to the screenshot. Why is …

  • Solved! I was facing the issue importing the XBF Font example specifically onto our hardware. The example was working fine with the simulator on Windows but it was printing nothing on our hardware. I believe the issue was timing. On the simulator, emwin is executed with an extra thread running in the background simultaneously (GUI_Exec), so compute intensive tasks like loading the font from the file, reading the file can be offloaded to the extra thread. Our hardware only has a single thread run…

  • Hi, I am facing a problem while trying to use xbf font with external memory. We are using NAND storage and emFile file system. I have a demo code using the xbf font similar to the example application from emWin here: Set external XBF font (Sample) - SEGGER Knowledge Base To generate the xbf font, I used the Font Converter for emWin (Demo version) V6.44 tool. The simulation on VS2022 worked normally with the expected output. forum.segger.com/index.php/Att…6a03617c111260747f8c2854f C Source Code (…

  • Yes we are currently using emWin V6.28 which is why it's not available. The compressed alpha bitmap format worked for me, Thanks Florian! Best, Sarthak

  • I have a requirement where I need to implement multiple wheels and the selected box in the wheel has an inverted color relative to the background. Something like this (download.png In the rightmost wheel I need bitmaps in a way that I can change the color of the bitmaps from white to black. According to the documentation for the WHEEL widget this is possible given that I use something called "Alpha Bitmaps" (donwload (1).png) Using the bitmap converter I am able to generate bitmaps with Alpha Ch…

  • Hi, I have just started working with the emWinsimulator. I am trying to run the example projects, but I am unable to followthe steps in the emwin documentation. I am running Visual Studio 2022. Here aremy issues: 1. Unable to find "Settings" menu byright-clicking Application folder as per Step 1. There is a"Properties" menu 2. On clicking Properties menu, it says "Thereare no property pages for the selection" 3. Step 2 requires opening the Sample folder of theworkspace by double-clicking on it. …