Hello everyone,
I am facing a little trouble while optimizing my UI and maybe you could help me out. On my screen, I have a menu button in the upper left corner (like in most smartphone apps today, three horizontal bars). Right now, when I press that button, a menu window is attached to the currently open window. I did an override for the drawing function of the menu window, so that a grey, gauss-blurred line ro the right of the just opened menu is displayed and then only the child widgets of the menu (so that the rest window is transparent and doesnt block the view of the window behind it. Please see attached image for a better overview (Shown is the menu window, where only the child widgets are drawn in the window_menu_draw handler)
My goal would be, however, that the menu is moved in from the left and the more it moves, the more the underlying window should be greyed out (increasing the alpha of a sprite/pixelmap which fills the screen "under" the menu). I have tried a few approaches including just altering the GX_RECTANGLE of the menu window, but that didnt work (e.g. just the window was moved, the child elements not), using gx_canvas_block_move and others.
I also tried an approach similar to the solution here:
https://community.renesas.com/mcu-mpu/embedded-system-platform/f/forum/15094/moving-window-as-image/50346#50346
But the problem here is that the whole framebuffer is replaced and what I would need is a blending of the current framebuffer (showing the window from which I opened the menu) and the framebuffer containing the menu (which is just 250px wide.
Does anybody have an idea how I could achieve the effect i desire?
Kind regards,
Christoph
/resized-image/__size/2804x1706/__key/communityserver-discussions-components-files/206/Menu.png
Hi Christoph,
How are things going? Were you able to figure this out now? Unfortunately, I wasn't able to find a thread in this forum that would help. Have you tried asking for suggestions here: https://learn.microsoft.com/en-us/answers/tags/86/azure-rtos? Or in Azure RTOS GUIX Repo: https://github.com/azure-rtos/guix/issues?
JBIf this response, or one provided by another user, answers your question, please verify the answer. Thank you!Renesas Engineering Community Moderatorhttps://community.renesas.com/https://academy.renesas.com/https://en-support.renesas.com/knowledgeBase/
Hi,
thank you for your input. I have not yet found a solution for my problem. In the thread I linked, Karol said using a second harware layer for GUIX transitions is on the roadmap and that was three years ago, has anything happened concerning that funcionality until now?
I'll go ahead and ask my question in the Microsoft Q&A as well, the Github does not seem to be the best place for this.
Kind Regards,
Hello,
I have now found a solution via the animation controller of GUIX (created the animation for testing purposes in GUIX Studio and just let it run in the microcontroller) and it looks okay.
The speed of the animation, however, is still pretty slow. When I execute the GUIX app on my PC it looks brilliant. on the controller, it lags.
As Karol said in the thread I linked in the first post, support for a second hardware layer for animations was on the roadmap three years ago, has anything changed regarding that?
If the animation were to look as smooth as in the PC, I'd be blown away..
Apologies for the delayed response. Unfortunately, I am not updated with the development of the Synergy devices. If you want to inquire about this change, I'd recommend submitting a ticket to Renesas Technical Support: https://en-support.renesas.com/dashboard