Ignore:
Timestamp:
2009-11-14T19:38:46+01:00 (15 years ago)
Author:
jttt
Message:

Updated to new MapViewPaintable.paint arguments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementLayer.java

    r16801 r18595  
    55import java.awt.Color;
    66import java.awt.Component;
    7 import java.awt.Graphics;
     7import java.awt.Graphics2D;
    88import java.awt.Point;
    99import java.awt.Toolkit;
     
    2929
    3030import org.openstreetmap.josm.Main;
     31import org.openstreetmap.josm.data.Bounds;
    3132import org.openstreetmap.josm.data.coor.LatLon;
    3233import org.openstreetmap.josm.data.gpx.GpxTrack;
     
    7172    }
    7273
    73     @Override public void paint(Graphics g, final MapView mv) {
     74    @Override public void paint(Graphics2D g, final MapView mv, Bounds bounds) {
    7475        g.setColor(Color.green);
    7576        Point l = null;
Note: See TracChangeset for help on using the changeset viewer.