Commit cbf014c
[win32] Allow disablement of autoscale per Widget
This commit introduces the data attribute AUTOSCALE_DISABLED for the
windows implementation for Widget. This will disable autoscaling for this
Widget and all of its children. This is a necessary requirement for some
complex usages utilizing GC. Without disabling autoscaling rendering
artifacts will be introduced when only parts of the GC are redrawn. This
commit serves as starting point to harden this feature before considering
extracting an API out of it.1 parent 1b7b9bb commit cbf014c
File tree
2 files changed
+23
-2
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
2 files changed
+23
-2
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3257 | 3257 | | |
3258 | 3258 | | |
3259 | 3259 | | |
3260 | | - | |
| 3260 | + | |
| 3261 | + | |
3261 | 3262 | | |
3262 | 3263 | | |
3263 | 3264 | | |
| |||
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
| |||
182 | 186 | | |
183 | 187 | | |
184 | 188 | | |
| 189 | + | |
185 | 190 | | |
186 | 191 | | |
187 | 192 | | |
| 193 | + | |
188 | 194 | | |
189 | 195 | | |
190 | 196 | | |
| |||
1457 | 1463 | | |
1458 | 1464 | | |
1459 | 1465 | | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
1460 | 1470 | | |
1461 | 1471 | | |
1462 | 1472 | | |
| |||
2686 | 2696 | | |
2687 | 2697 | | |
2688 | 2698 | | |
2689 | | - | |
| 2699 | + | |
| 2700 | + | |
| 2701 | + | |
| 2702 | + | |
2690 | 2703 | | |
2691 | 2704 | | |
2692 | 2705 | | |
2693 | 2706 | | |
| 2707 | + | |
| 2708 | + | |
| 2709 | + | |
2694 | 2710 | | |
2695 | 2711 | | |
2696 | 2712 | | |
2697 | 2713 | | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
2698 | 2717 | | |
2699 | 2718 | | |
2700 | 2719 | | |
2701 | 2720 | | |
2702 | 2721 | | |
| 2722 | + | |
2703 | 2723 | | |
2704 | 2724 | | |
2705 | 2725 | | |
| |||
0 commit comments