Ignore:
Timestamp:
2010-08-02T09:47:56+02:00 (16 years ago)
Author:
bastiK
Message:

some extensions to exteded dialog; modified the warning dialog box for too short changeset comments (from [3399])

File:
1 edited

Legend:

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

    r3365 r3403  
    273273     */
    274274    public static ImageIcon overlay(Icon ground, String overlayImage, OverlayPosition pos) {
     275        return overlay(ground, ImageProvider.get(overlayImage), pos);
     276    }
     277
     278    public static ImageIcon overlay(Icon ground, Icon overlay, OverlayPosition pos) {
    275279        GraphicsConfiguration conf = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice()
    276280        .getDefaultConfiguration();
    277281        int w = ground.getIconWidth();
    278282        int h = ground.getIconHeight();
    279         ImageIcon overlay = ImageProvider.get(overlayImage);
    280283        int wo = overlay.getIconWidth();
    281284        int ho = overlay.getIconHeight();
Note: See TracChangeset for help on using the changeset viewer.