Changeset 93 in josm for src/org/openstreetmap/josm/tools
- Timestamp:
- 2006-04-23T00:41:38+02:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/tools/ImageProvider.java
r91 r93 28 28 */ 29 29 public static enum OverlayPosition {NORTHWEST, NORTHEAST, SOUTHWEST, SOUTHEAST} 30 30 31 31 /** 32 32 * The icon cache 33 33 */ 34 34 private static Map<URL, Image> cache = new HashMap<URL, Image>(); 35 35 36 36 /** 37 37 * Return an image from the specified location. … … 44 44 if (subdir != "") 45 45 subdir += "/"; 46 46 String ext = name.indexOf('.') != -1 ? "" : ".png"; 47 47 URL path = Main.class.getResource("/images/"+subdir+name+ext); 48 48 if (path == null)
Note:
See TracChangeset
for help on using the changeset viewer.