20 views
in Embedded Wizard Studio by
Hello, my boss would like me to create a Windows simulation of an Embedded Wizard project for him to use in a presentation.  This is no problem for me - I have Visual Studio set up to do this, and it works ok.  However, my original EmWi project was written for a small touch screen which is 320x240 px.  I would like to create an Windows executable which is much bigger in size - for example, maybe 2 or 3 times the size.  Do you know if this is possible please?

Thanks

1 Answer

0 votes
by

Hello Jonathan,

maybe the simplest solution would be to use Windows own zoom functionality. Microsoft provides following documentation for this purpose.

Other approach would be to redesign your application to be bigger in size. This means, however, that you have to prepare the assets in 2x, 3x, etc. resolution and also adjust the position/size of all GUI components/views. This approach is thus more labor intensive and more adequate if you really plan to integrate a bigger screen in your final product.

Other option: you can modify the implementation of the ewapp.c module to create a bigger Win32 window and scale the Embedded Wizard generated contents. In such case you also will need to adapt the mouse/touch coordinate conversion. This approach expects some understanding of how the integration between Embedded Wizard and Win32 is working. The implementation of ewapp.c is inline commented and it is explicitly intended to be adapted by the customer to his/her needs. For now we have not had such request so that we could not verify this approach in the practice.

Finally, you can use WebGL as target system instead of Windows. The application is then running within a Web-Browser which is convenient for demonstration purpose. All browser allow you to zoom the displayed contents. Please note: unless your application is small this approach expects that you license the WebGL Platform Package. For more details see Getting started with JavaScript/WebGL.

I hope one of the options helps you to solve the task.

Best regards

Paul Banach

by
Hello Paul,

 

Thank you very much for answering my question, much appreciated.  I wanted to avoid redesigning my application, as this seemed very labour intensive and not really necessary.  I will investigate how to modify ewapp.c, or alternatively the WebGL platform package.  What is the price to licence an additional platform package please?  (NB: we already have a licence for the STM32 platform package, and Studio professional)

 

Best regards,

 

Jonathan

Embedded Wizard Website | Privacy Policy | Imprint

...