File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -605,10 +605,6 @@ public static int getDeviceZoom() {
605605 return deviceZoom ;
606606}
607607
608- public static int getDeviceZoom (String autoScaleProperty ) {
609- return getZoomForAutoscaleProperty (nativeDeviceZoom , autoScaleProperty );
610- }
611-
612608public static void setDeviceZoom (int nativeDeviceZoom ) {
613609 DPIUtil .nativeDeviceZoom = nativeDeviceZoom ;
614610 int deviceZoom = getZoomForAutoscaleProperty (nativeDeviceZoom );
@@ -685,6 +681,14 @@ public static boolean isMonitorSpecificScalingActive() {
685681 return updateOnRuntimeValue ;
686682}
687683
684+ public static String getAutoScaleValue () {
685+ return autoScaleValue ;
686+ }
687+
688+ public static void setAutoScaleValue (String value ) {
689+ autoScaleValue = value ;
690+ }
691+
688692public static void setAutoScaleForMonitorSpecificScaling () {
689693 boolean isDefaultAutoScale = autoScaleValue == null ;
690694 if (isDefaultAutoScale ) {
You can’t perform that action at this time.
0 commit comments