Jump to content

Render ready codes on virtual display

Recommended Posts

Hello everyone.


I may not understand the whole workflow, so please correct me if I'm wrong.

The normal workflow using uGFX-Studio as following: we're dragging/dropping the interface pieces and then generating the result codes.


My question is about the reverse order: is there's a chance to make a to render on host from the ready codes ?

I'm not asking about the generation of the uGFX project from C sources, but just rendering of some codes in order not to flash the target every time I've made a changes in a code.


Thanks !

Edited by 0xF77E
Link to post
Share on other sites


Yes that's, possible. But it's currently not implemented in the µGFX-Studio itself. But you can compile any µGFX application as a native desktop application (eg. Windows, Linux, MacOS, BSD, ...). The cool thing is that it's not a simulation or emulation like with other libraries, but instead it's a native application using the native µGFX library. Therefore, every single pixel is exactly like it will be on the target device.
Here's the guide on how to do that on Windows: https://wiki.ugfx.io/index.php/Your_First_Compile_-_Windows 
You'll find similar guides for Linux and MacOS.

Eventually, the µGFX-Studio will generate the necessary code (main code, configuration file, ...) and render it as part of the studio.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...