oxesoft / oxefmsynth

Oxe FM Synth official repository
https://oxesoft.wordpress.com/
GNU General Public License v3.0
178 stars 27 forks source link

GUI scaling #28

Open gi0e5b06 opened 5 years ago

gi0e5b06 commented 5 years ago

The UI is great but too small (on my 1600x900@20″). The problem should be even bigger with HiDPI screens. So here is a simple patch that multiply every thing by the constant GUI_SCALE defined in src/synth/constants.h . Can only be an integer (1, 2, 3, ...), 1 being the actual size 633x437. Of course, you have to scale the images of your theme accordingly. Only tested on xlib but should work with every toolkit. It wasn't difficult to implement thanks to the well-written code that uses variables for positioning the widgets.

biopsin commented 4 years ago

Would love this commit happen, at the moment on 3840:2160 monitor its unusable

ShantySuffisance commented 2 months ago

I've successfully compiled oxefmsynth with GUI_SCALE=2 but the result is messy: grafik do i just need to scale all images in skins too? Do you have a skin ready, that works with higher resolution? thx!

ShantySuffisance commented 2 months ago

do i just need to scale all images in skins too?

no. I've enlarged the skin files with magick input.bmp -magnify input.bmp but the result unfortunately stays the same. Any help in using the GUI_SCALE-branch is appreciated