Changeset 93 in josm for src/org/openstreetmap/josm/tools


Ignore:
Timestamp:
2006-04-23T00:41:38+02:00 (19 years ago)
Author:
imi
Message:
  • added "insert node into line segment" mapmode
  • added direction hint to line segments
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/tools/ImageProvider.java

    r91 r93  
    2828         */
    2929        public static enum OverlayPosition {NORTHWEST, NORTHEAST, SOUTHWEST, SOUTHEAST}
    30        
     30
    3131        /**
    3232         * The icon cache
    3333         */
    3434        private static Map<URL, Image> cache = new HashMap<URL, Image>();
    35        
     35
    3636        /**
    3737         * Return an image from the specified location.
     
    4444                if (subdir != "")
    4545                        subdir += "/";
    46         String ext = name.indexOf('.') != -1 ? "" : ".png";
     46                String ext = name.indexOf('.') != -1 ? "" : ".png";
    4747                URL path = Main.class.getResource("/images/"+subdir+name+ext);
    4848                if (path == null)
Note: See TracChangeset for help on using the changeset viewer.