Changeset 9949 in josm for trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
- Timestamp:
- 2016-03-07T21:45:35+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r9827 r9949 132 132 */ 133 133 public enum ImageSizes { 134 /** SMALL_ICON value of on Action */134 /** SMALL_ICON value of an Action */ 135 135 SMALLICON(Main.pref.getInteger("iconsize.smallicon", 16)), 136 /** LARGE_ICON_KEY value of on Action */136 /** LARGE_ICON_KEY value of an Action */ 137 137 LARGEICON(Main.pref.getInteger("iconsize.largeicon", 24)), 138 138 /** map icon */ … … 375 375 overlayInfo.add(overlay); 376 376 return this; 377 }378 379 /**380 * Convert enumerated size values to real numbers381 * @param size the size enumeration382 * @return dimension of image in pixels383 * @since 7687384 * @deprecated Use {@link ImageSizes#getImageDimension()} instead385 */386 @Deprecated387 public static Dimension getImageSizes(ImageSizes size) {388 return (size == null ? ImageSizes.DEFAULT : size).getImageDimension();389 377 } 390 378
Note:
See TracChangeset
for help on using the changeset viewer.
