Commit 2756354
committed
Program icon scaling using DPI
This commit contributes to proper scaling of Program icon. Since, these
icons are retrieved by OS.SHGetFileInfo which is System DPI-Aware, it
returns the icon with zoom level of the primary monitor at application
startup. Hence, for initialNativeZoom of the Image object to be created for the
icon, the zoom retrieved from the DPI is considered.
contributes to #62 and #127
fixes #17591 parent 009532c commit 2756354
File tree
1 file changed
+11
-4
lines changed- bundles/org.eclipse.swt/Eclipse SWT Program/win32/org/eclipse/swt/program
1 file changed
+11
-4
lines changedLines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | | - | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
383 | | - | |
384 | | - | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
430 | 437 | | |
431 | 438 | | |
432 | 439 | | |
| |||
0 commit comments