Commit dfd19fc
committed
[Win32] Remove obsolete HandleAtSizeConsumer
With latest refactorings, the HandleAtSizeConsumer inside Image became
obsolete as the ImageHandle passed to it already contains the other
information encapsulated in that consumer. Thus, this follow-up
refactoring replaces the HandleAtSizeConsumer with a simple ImageHandle
consumer. To do so, it properly encapsulates and exposes the
width/height information in an ImageHandle. It also aligns the name of
the method processing such a consumer to fit the actual behavior and the
according MacOS implementation.1 parent c422be8 commit dfd19fc
File tree
2 files changed
+26
-24
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics
2 files changed
+26
-24
lines changedLines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1233 | 1233 | | |
1234 | 1234 | | |
1235 | 1235 | | |
1236 | | - | |
1237 | | - | |
1238 | | - | |
1239 | | - | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
1240 | 1241 | | |
1241 | 1242 | | |
1242 | 1243 | | |
| |||
Lines changed: 21 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
| 848 | + | |
854 | 849 | | |
855 | 850 | | |
856 | 851 | | |
857 | 852 | | |
858 | 853 | | |
859 | 854 | | |
860 | 855 | | |
861 | | - | |
862 | | - | |
| 856 | + | |
863 | 857 | | |
864 | 858 | | |
865 | 859 | | |
| |||
2817 | 2811 | | |
2818 | 2812 | | |
2819 | 2813 | | |
2820 | | - | |
2821 | | - | |
| 2814 | + | |
| 2815 | + | |
2822 | 2816 | | |
2823 | | - | |
| 2817 | + | |
2824 | 2818 | | |
2825 | 2819 | | |
2826 | | - | |
| 2820 | + | |
| 2821 | + | |
| 2822 | + | |
2827 | 2823 | | |
2828 | 2824 | | |
2829 | 2825 | | |
| |||
2834 | 2830 | | |
2835 | 2831 | | |
2836 | 2832 | | |
2837 | | - | |
| 2833 | + | |
| 2834 | + | |
| 2835 | + | |
| 2836 | + | |
| 2837 | + | |
| 2838 | + | |
| 2839 | + | |
| 2840 | + | |
| 2841 | + | |
2838 | 2842 | | |
2839 | 2843 | | |
2840 | 2844 | | |
| |||
2863 | 2867 | | |
2864 | 2868 | | |
2865 | 2869 | | |
2866 | | - | |
| 2870 | + | |
2867 | 2871 | | |
2868 | 2872 | | |
2869 | 2873 | | |
2870 | 2874 | | |
2871 | | - | |
2872 | | - | |
2873 | | - | |
| 2875 | + | |
2874 | 2876 | | |
2875 | 2877 | | |
2876 | 2878 | | |
| |||
2881 | 2883 | | |
2882 | 2884 | | |
2883 | 2885 | | |
2884 | | - | |
2885 | | - | |
2886 | | - | |
| 2886 | + | |
2887 | 2887 | | |
2888 | 2888 | | |
| 2889 | + | |
2889 | 2890 | | |
2890 | 2891 | | |
2891 | 2892 | | |
| |||
0 commit comments