Commit f48b2ad
Improve scaling of SystemImage #62
This commit contributes to better scaling of Images obtained from
Display::getSystemImage using better windows API LoadIconWithScaleDown
for scaling. The new API also changes the old system icons to the new Windows System Icons.
Contributes to
#62 and
#1271 parent 9b1bcf4 commit f48b2ad
File tree
4 files changed
+52
-9
lines changed- bundles/org.eclipse.swt
- Eclipse SWT PI/win32
- library
- org/eclipse/swt/internal/win32
- Eclipse SWT/win32/org/eclipse/swt/widgets
4 files changed
+52
-9
lines changedLines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4745 | 4745 | | |
4746 | 4746 | | |
4747 | 4747 | | |
| 4748 | + | |
| 4749 | + | |
| 4750 | + | |
| 4751 | + | |
| 4752 | + | |
| 4753 | + | |
| 4754 | + | |
| 4755 | + | |
| 4756 | + | |
| 4757 | + | |
| 4758 | + | |
| 4759 | + | |
| 4760 | + | |
| 4761 | + | |
| 4762 | + | |
| 4763 | + | |
4748 | 4764 | | |
4749 | 4765 | | |
4750 | 4766 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| 369 | + | |
369 | 370 | | |
370 | 371 | | |
371 | 372 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3302 | 3302 | | |
3303 | 3303 | | |
3304 | 3304 | | |
| 3305 | + | |
| 3306 | + | |
| 3307 | + | |
| 3308 | + | |
| 3309 | + | |
| 3310 | + | |
3305 | 3311 | | |
3306 | 3312 | | |
3307 | 3313 | | |
| |||
Lines changed: 29 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
533 | 542 | | |
534 | 543 | | |
535 | 544 | | |
| |||
2552 | 2561 | | |
2553 | 2562 | | |
2554 | 2563 | | |
2555 | | - | |
2556 | 2564 | | |
2557 | 2565 | | |
2558 | 2566 | | |
2559 | | - | |
2560 | | - | |
| 2567 | + | |
| 2568 | + | |
2561 | 2569 | | |
2562 | 2570 | | |
2563 | 2571 | | |
2564 | 2572 | | |
2565 | | - | |
2566 | | - | |
| 2573 | + | |
| 2574 | + | |
2567 | 2575 | | |
2568 | 2576 | | |
2569 | 2577 | | |
2570 | | - | |
2571 | | - | |
| 2578 | + | |
| 2579 | + | |
2572 | 2580 | | |
2573 | 2581 | | |
2574 | 2582 | | |
2575 | | - | |
2576 | | - | |
| 2583 | + | |
| 2584 | + | |
2577 | 2585 | | |
2578 | 2586 | | |
2579 | 2587 | | |
2580 | 2588 | | |
2581 | 2589 | | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
2582 | 2602 | | |
2583 | 2603 | | |
2584 | 2604 | | |
| |||
0 commit comments