Commit fa9970d
committed
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 since the
expected size of the Context menu images can differ from the size
specific to the zoom level of the monitor.
contributes to
#62 and
#1271 parent 2bcfb45 commit fa9970d
File tree
2 files changed
+12
-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
+12
-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: 11 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 | + | |
795 | 804 | | |
796 | 805 | | |
797 | 806 | | |
| |||
0 commit comments