Commit c4655bd
committed
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.1 parent 4b7c450 commit c4655bd
4 files changed
Lines changed: 114 additions & 10 deletions
File tree
- bundles/org.eclipse.swt/Eclipse SWT
- cocoa/org/eclipse/swt/widgets
- common/org/eclipse/swt/graphics
- gtk/org/eclipse/swt/widgets
- win32/org/eclipse/swt/widgets
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3527 | 3527 | | |
3528 | 3528 | | |
3529 | 3529 | | |
| 3530 | + | |
| 3531 | + | |
| 3532 | + | |
| 3533 | + | |
| 3534 | + | |
| 3535 | + | |
| 3536 | + | |
| 3537 | + | |
| 3538 | + | |
| 3539 | + | |
| 3540 | + | |
| 3541 | + | |
| 3542 | + | |
| 3543 | + | |
| 3544 | + | |
| 3545 | + | |
| 3546 | + | |
| 3547 | + | |
| 3548 | + | |
3530 | 3549 | | |
3531 | 3550 | | |
3532 | 3551 | | |
| |||
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5143 | 5143 | | |
5144 | 5144 | | |
5145 | 5145 | | |
| 5146 | + | |
| 5147 | + | |
| 5148 | + | |
| 5149 | + | |
| 5150 | + | |
| 5151 | + | |
| 5152 | + | |
| 5153 | + | |
| 5154 | + | |
| 5155 | + | |
| 5156 | + | |
| 5157 | + | |
| 5158 | + | |
| 5159 | + | |
| 5160 | + | |
| 5161 | + | |
| 5162 | + | |
| 5163 | + | |
| 5164 | + | |
5146 | 5165 | | |
5147 | 5166 | | |
5148 | 5167 | | |
| |||
Lines changed: 48 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
129 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
1287 | 1287 | | |
1288 | 1288 | | |
1289 | 1289 | | |
1290 | | - | |
| 1290 | + | |
1291 | 1291 | | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
1292 | 1295 | | |
1293 | 1296 | | |
| 1297 | + | |
1294 | 1298 | | |
1295 | 1299 | | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
1296 | 1304 | | |
1297 | 1305 | | |
1298 | 1306 | | |
| |||
1874 | 1882 | | |
1875 | 1883 | | |
1876 | 1884 | | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
1877 | 1890 | | |
1878 | 1891 | | |
1879 | 1892 | | |
| |||
3353 | 3366 | | |
3354 | 3367 | | |
3355 | 3368 | | |
| 3369 | + | |
| 3370 | + | |
| 3371 | + | |
| 3372 | + | |
| 3373 | + | |
| 3374 | + | |
| 3375 | + | |
| 3376 | + | |
| 3377 | + | |
| 3378 | + | |
| 3379 | + | |
| 3380 | + | |
| 3381 | + | |
| 3382 | + | |
| 3383 | + | |
| 3384 | + | |
| 3385 | + | |
| 3386 | + | |
| 3387 | + | |
| 3388 | + | |
| 3389 | + | |
| 3390 | + | |
| 3391 | + | |
| 3392 | + | |
| 3393 | + | |
3356 | 3394 | | |
3357 | 3395 | | |
3358 | 3396 | | |
| |||
4866 | 4904 | | |
4867 | 4905 | | |
4868 | 4906 | | |
4869 | | - | |
| 4907 | + | |
4870 | 4908 | | |
4871 | 4909 | | |
4872 | 4910 | | |
4873 | 4911 | | |
4874 | 4912 | | |
4875 | 4913 | | |
4876 | 4914 | | |
4877 | | - | |
| 4915 | + | |
4878 | 4916 | | |
4879 | 4917 | | |
4880 | 4918 | | |
| |||
4888 | 4926 | | |
4889 | 4927 | | |
4890 | 4928 | | |
4891 | | - | |
| 4929 | + | |
4892 | 4930 | | |
4893 | 4931 | | |
4894 | 4932 | | |
| |||
6079 | 6117 | | |
6080 | 6118 | | |
6081 | 6119 | | |
6082 | | - | |
| 6120 | + | |
6083 | 6121 | | |
6084 | 6122 | | |
6085 | 6123 | | |
| |||
0 commit comments