Commit 4e9c96e
MenuItem Image Scaling with DPI aware metrics #62
This commit contributes to scaling of the MenuItem::hBitmap with the DPI
-aware System Metrics for the size of the SM_CYMENUCHECK or the size
obtained by menuItem zoom. It also corrects the zoom in specific cases
where the images are not consistently drawn on the context menu.
Contributes to
#62 and
#1271 parent 22e8829 commit 4e9c96e
File tree
2 files changed
+48
-2
lines changed- bundles/org.eclipse.swt
- Eclipse SWT PI/win32/org/eclipse/swt/internal/win32
- Eclipse SWT/win32/org/eclipse/swt/widgets
2 files changed
+48
-2
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1248 | 1248 | | |
1249 | 1249 | | |
1250 | 1250 | | |
| 1251 | + | |
1251 | 1252 | | |
1252 | 1253 | | |
1253 | 1254 | | |
| |||
Lines changed: 47 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
784 | | - | |
785 | | - | |
| 784 | + | |
786 | 785 | | |
787 | 786 | | |
788 | 787 | | |
| |||
792 | 791 | | |
793 | 792 | | |
794 | 793 | | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
795 | 840 | | |
796 | 841 | | |
797 | 842 | | |
| |||
0 commit comments