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.

  • Hello, I'd like to use the functions GUI_MEMDEV_MoveInWindow() and GUI_MEMDEV_MoveOutWindow() in my application but, since I'm using also at the beginning GUI_SetOrientation(GUI_SWAP_XY | GUI_MIRROR_X) to change the orientation from "landscape" to "portrait" (the display is natively landscape but my application is portrait), it looks like GUI_MEMDEV_MoveOutWindow() works only with the physical orientation of the display. Using MoveOutWindow in this way leads to a Hard fault: WM_HideWindow(pMsg->…

  • Show animated GIF on WM Dialog

    Mark_C - - emWin related

    Post

    Quote from SEGGER - Schoenen: “Hi, Please try if it works when configuring the MPU of the STM32F7 before initializing emWin. Try the solutions from these threads: HardFalt when rendering PNG (STM32F746g disco) Memory usage Quote: “I've used the same way of displaying the GIF file inside a WM_Dialog as the one used in the example but in a dedicated FreeRTOS thread. ” Do you mean one dedicated thread for emWin? Although, it is possible, try to avoid calling emWin from multiple threads. Regards, Sv…

  • Show animated GIF on WM Dialog

    Mark_C - - emWin related

    Post

    Thank you Schoenen for the quick reply and the attached example. I've used the same way of displaying the GIF file inside a WM_Dialog as the one used in the example but in a dedicated FreeRTOS thread. The result is that I get stucked right after the GUI_Delay() on a Usage Fault related to an Unaligned memory access. Any idea of the reasons I might get this fault? Thank you. Regards, Mark

  • Show animated GIF on WM Dialog

    Mark_C - - emWin related

    Post

    Hello, I'm using emWin on a STM32F7 custom hardware and I will like to show a small animated GIF inside a WM dialog (a sort of "Please wait" animation until a certain operation is completed) but, after some tests with either GUI_GIF_Draw plus MEMDEV functions and IMAGE_SetGIF, I didn't manage to show even a fixed frame of the GIF. I've assigned 3MB to the GUI and tried different GIF files (imported with Bin2C.exe). Could you please provide an example of this application? (I'm not using a simulat…

  • Thank you very much for the quick reply and the example code. I've just tried it and it works fine. Regards, Mark

  • Hello, I have a small issue managing a transparent bitmap. Basically I have a bitmap with transparency with a white logo and I use it on a black background (default "dark" mode). (This logo has to be also touchable so it is created as a button with its own callback, the parent of the button is the background.) If I switch to the "light mode" the background will be white and I want the logo to be black preserving its transparency. I've tried something like this in the WM_PAINT case of the button …