Commit b440e89
committed
Refactor: Move Cocoa-specific DPI methods to CocoaDPIUtil
The `autoScale` methods no longer have relevance in the Win32
implementation, so this commit extracts the macOS-specific DPI scaling
logic into a dedicated `CocoaDPIUtil` class. This improves platform
separation and maintains cleaner, OS-specific code boundaries.1 parent 51fed8e commit b440e89
File tree
1 file changed
+19
-2
lines changed- bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics
1 file changed
+19
-2
lines changedLines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1822 | 1822 | | |
1823 | 1823 | | |
1824 | 1824 | | |
1825 | | - | |
| 1825 | + | |
1826 | 1826 | | |
1827 | 1827 | | |
1828 | 1828 | | |
1829 | | - | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
1830 | 1847 | | |
1831 | 1848 | | |
1832 | 1849 | | |
| |||
0 commit comments