Commit 28ac0b1
committed
Consider that program icons have scaling of primary monitor
When loading icons for programs, their image data will be scaled
according to the primary monitor scaling. This is different from other
images, which when loaded have their original size. This change reflects
that behavior when creating the image data for a target zoom factor by
considering the icon's pre-scaling. It also add a @SInCE tag for the
previously introduced zoom-aware getImageData() method for the Program
class.1 parent c4922c6 commit 28ac0b1
File tree
3 files changed
+9
-1
lines changed- bundles/org.eclipse.swt/Eclipse SWT Program
- cocoa/org/eclipse/swt/program
- gtk/org/eclipse/swt/program
- win32/org/eclipse/swt/program
3 files changed
+9
-1
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| 357 | + | |
357 | 358 | | |
358 | 359 | | |
359 | 360 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
372 | 374 | | |
373 | 375 | | |
374 | 376 | | |
| 377 | + | |
375 | 378 | | |
376 | 379 | | |
377 | 380 | | |
| |||
395 | 398 | | |
396 | 399 | | |
397 | 400 | | |
398 | | - | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
399 | 405 | | |
400 | 406 | | |
401 | 407 | | |
| |||
0 commit comments