Hello,
I am woking on a project where the UI is going to be displayed on a regular PC LCD screen. Although my UI will not take up the entire screen, I would like to be able to scale it depending on the current screen resoultion selected. So, when the user change the screen resolution, my UI windows will be scaled accordingly. I understand that emWin does not support scaling of windows so I have do it manually. My question is concerning the inital settings in LCDConf.c. Is there a way the XSIZE_PHYS and YSIZE_PHYS can be run time configurable? If not, do I set the physical display size to the lagest (or smallest) possible resolution or window size I am going to support? Any pointer of how I should go about doing this will be greatly appreciated.
Thank you.
I am woking on a project where the UI is going to be displayed on a regular PC LCD screen. Although my UI will not take up the entire screen, I would like to be able to scale it depending on the current screen resoultion selected. So, when the user change the screen resolution, my UI windows will be scaled accordingly. I understand that emWin does not support scaling of windows so I have do it manually. My question is concerning the inital settings in LCDConf.c. Is there a way the XSIZE_PHYS and YSIZE_PHYS can be run time configurable? If not, do I set the physical display size to the lagest (or smallest) possible resolution or window size I am going to support? Any pointer of how I should go about doing this will be greatly appreciated.
Thank you.