Commit 69b7d66
Use device-free Color constructors instead of deprecated Device-based ones
Replace all internal usages of new Color(device, ...) with the modern
display-free equivalents new Color(r, g, b), new Color(rgb), etc.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 1442896 commit 69b7d66
6 files changed
Lines changed: 28 additions & 28 deletions
File tree
- bundles/org.eclipse.swt
- Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility
- Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom
- Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd
- Eclipse SWT PI/win32/org/eclipse/swt/internal/win32
- Eclipse SWT
- cocoa/org/eclipse/swt/graphics
- win32/org/eclipse/swt/graphics
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5099 | 5099 | | |
5100 | 5100 | | |
5101 | 5101 | | |
5102 | | - | |
| 5102 | + | |
5103 | 5103 | | |
5104 | 5104 | | |
5105 | 5105 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2266 | 2266 | | |
2267 | 2267 | | |
2268 | 2268 | | |
2269 | | - | |
2270 | | - | |
2271 | | - | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
2272 | 2272 | | |
2273 | 2273 | | |
2274 | 2274 | | |
2275 | 2275 | | |
2276 | 2276 | | |
2277 | | - | |
2278 | | - | |
| 2277 | + | |
| 2278 | + | |
2279 | 2279 | | |
2280 | 2280 | | |
2281 | 2281 | | |
| |||
Lines changed: 17 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4858 | 4858 | | |
4859 | 4859 | | |
4860 | 4860 | | |
4861 | | - | |
| 4861 | + | |
4862 | 4862 | | |
4863 | 4863 | | |
4864 | 4864 | | |
| |||
5207 | 5207 | | |
5208 | 5208 | | |
5209 | 5209 | | |
5210 | | - | |
| 5210 | + | |
5211 | 5211 | | |
5212 | 5212 | | |
5213 | 5213 | | |
| |||
0 commit comments