sfizz/plugins/lv2/sfizz_ui.ttl.in
redtide fee8e21e35 HiDPI: handle system scale factor in LV2, custom zoom
- Handle LV2 scaleFactor system setting
- Add a Zoom menu in Settings to apply an user' zoom ratio preference
- A Set Default button applies the changes in settings.xml, under default_zoom key

TODO: only LV2 has scalefactor detection, so other plugins will have a different scaling/window size
and the user setting is not applied directly (no automatic window reopening), need to close and reopen manually the window
2023-04-09 13:45:32 +02:00

17 lines
683 B
Turtle

@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix opts: <http://lv2plug.in/ns/ext/options#> .
@prefix ui: <http://lv2plug.in/ns/extensions/ui#> .
@prefix urid: <http://lv2plug.in/ns/ext/urid#> .
<@LV2PLUGIN_URI@#ui>
lv2:extensionData ui:idleInterface ;
lv2:extensionData ui:showInterface ;
lv2:requiredFeature ui:idleInterface ;
lv2:optionalFeature ui:noUserResize ;
lv2:optionalFeature ui:resize ;
lv2:optionalFeature ui:parent ;
lv2:optionalFeature ui:touch ;
opts:supportedOption ui:scaleFactor ;
lv2:requiredFeature urid:map ;
lv2:requiredFeature urid:unmap ;
lv2:requiredFeature <http://lv2plug.in/ns/ext/instance-access> .