Changeset 8958 in josm for trunk/src/org/openstreetmap/josm/gui/SideButton.java
- Timestamp:
- 2015-10-27T19:15:14+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/SideButton.java
r8510 r8958 69 69 } 70 70 71 /** scales the given image proportionally so that the height is "iconHeight" **/ 71 /** 72 * Scales the given image proportionally so that the height is "iconHeight" 73 * @param im original image 74 * @return scaled image 75 */ 72 76 private static ImageIcon getScaledImage(Image im) { 73 77 int newWidth = im.getWidth(null) * iconHeight / im.getHeight(null);
Note:
See TracChangeset
for help on using the changeset viewer.