Search Results
Search results 1-8 of 8.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Can we access WHEEL properties such as mode (WHEEL_MODE_STOP or WHEEL_MODE_ENDLESS) and WHEEL type (text or bitmap wheel)
sarthak - - emWin related
PostHi, I was wondering if it is possible to access these wheel properties using emWIN APIs specific to the wheel. Here are the properties: 1. wheel mode (WHEEL_MODE_STOP or WHEEL_MODE_ENDLESS) 2. WHEEL type (text wheel or bitmap wheel) Are these properties stored somewhere that can be accessed via emwin WHEEL APIs at runtime?
-
Hi, I have a WHEEL implementation and I want to run a function at the end of WHEEL_MoveToPosEx(...) function. Currently, I call WHEEL_MoveToPosEx(...) with a Period of 100 ms. I am sure that WHEEL_MoveToPosEx(...) runs an animation under the hood. Is there a way to hook my custom function at the end of WHEEL_MoveToPosEx(...) to run my custom function? To give some context, I currently have an input screen in my GUI application with 5 vertical wheel side-by-side. I want to dynamically show and hi…
-
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…2e35fb0cdbc097f52145f6e1b C Source Code (…
-
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. …