Commit f5d50c9
committed
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 df1c412 commit f5d50c9
File tree
4 files changed
+48
-10
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
+48
-10
lines changedLines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4725 | 4725 | | |
4726 | 4726 | | |
4727 | 4727 | | |
| 4728 | + | |
| 4729 | + | |
| 4730 | + | |
| 4731 | + | |
| 4732 | + | |
| 4733 | + | |
| 4734 | + | |
| 4735 | + | |
| 4736 | + | |
| 4737 | + | |
| 4738 | + | |
| 4739 | + | |
| 4740 | + | |
| 4741 | + | |
| 4742 | + | |
| 4743 | + | |
4728 | 4744 | | |
4729 | 4745 | | |
4730 | 4746 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| 368 | + | |
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3298 | 3298 | | |
3299 | 3299 | | |
3300 | 3300 | | |
| 3301 | + | |
| 3302 | + | |
| 3303 | + | |
| 3304 | + | |
| 3305 | + | |
| 3306 | + | |
3301 | 3307 | | |
3302 | 3308 | | |
3303 | 3309 | | |
| |||
Lines changed: 25 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
| 533 | + | |
533 | 534 | | |
534 | 535 | | |
535 | 536 | | |
| |||
554 | 555 | | |
555 | 556 | | |
556 | 557 | | |
557 | | - | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
558 | 563 | | |
559 | 564 | | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
560 | 568 | | |
561 | 569 | | |
562 | 570 | | |
| |||
2543 | 2551 | | |
2544 | 2552 | | |
2545 | 2553 | | |
2546 | | - | |
2547 | 2554 | | |
2548 | 2555 | | |
2549 | 2556 | | |
2550 | | - | |
2551 | | - | |
| 2557 | + | |
2552 | 2558 | | |
2553 | 2559 | | |
2554 | 2560 | | |
2555 | 2561 | | |
2556 | | - | |
2557 | | - | |
| 2562 | + | |
2558 | 2563 | | |
2559 | 2564 | | |
2560 | 2565 | | |
2561 | | - | |
2562 | | - | |
| 2566 | + | |
2563 | 2567 | | |
2564 | 2568 | | |
2565 | 2569 | | |
2566 | | - | |
2567 | | - | |
| 2570 | + | |
2568 | 2571 | | |
2569 | 2572 | | |
2570 | 2573 | | |
2571 | 2574 | | |
2572 | 2575 | | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
| 2582 | + | |
| 2583 | + | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
2573 | 2588 | | |
2574 | 2589 | | |
2575 | 2590 | | |
| |||
0 commit comments