You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added API to set Autoscale Disabled with better convenience
This commit adds an API to set Autoscaling Modes using the new enum
AutoscalingMode with types Enabled, Disabled and Disabled_Inherited.
Moreover, it also provides an API Shell#getNativeZoom to still make the
consumer be able to obtain the actual zoom at a screen. These features
are only enabled on win32 and will not perform any action on other
platforms if called.
* The capability is not supported on every platform, such that calling this method may not have an effect on unsupported platforms. The return value indicates if the autoscale mode was set properly. With {@link #isAutoScalable()}, the autoscale enablement can also be evaluated at any later point in time.
3533
+
* <p>
3534
+
* Currently, this is only supported on Windows.
3535
+
* </p>
3536
+
*
3537
+
* @param autoscalingMode
3538
+
* the autoscaling mode to set; this argument is accepted but
3539
+
* ignored on this platform
3540
+
*
3541
+
* @return {@code false} if the operation was called on an unsupported platform
* The capability is not supported on every platform, such that calling this method may not have an effect on unsupported platforms. The return value indicates if the autoscale mode was set properly. With {@link #isAutoScalable()}, the autoscale enablement can also be evaluated at any later point in time.
5149
+
* <p>
5150
+
* Currently, this is only supported on Windows.
5151
+
* </p>
5152
+
*
5153
+
* @param autoscalingMode
5154
+
* the autoscaling mode to set; this argument is accepted but
5155
+
* ignored on this platform
5156
+
*
5157
+
* @return {@code false} if the operation was called on an unsupported platform
* The capability is not supported on every platform, such that calling this method may not have an effect on unsupported platforms. The return value indicates if the autoscale mode was set properly. With {@link #isAutoScalable()}, the autoscale enablement can also be evaluated at any later point in time.
3391
+
* <p>
3392
+
* Currently, this is only supported on Windows.
3393
+
* </p>
3394
+
*
3395
+
* @param autoscalingMode
3396
+
* the autoscaling mode to set; this argument is accepted but
3397
+
* ignored on this platform
3398
+
*
3399
+
* @return {@code false} if the operation was called on an unsupported platform
0 commit comments