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

Updated to new MapViewPaintable.paint arguments

Location:
applications/editors/josm/plugins/editgpx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/editgpx/build.xml

    r18426 r18595  
    2626                <attribute name="Plugin-Description" value="Allows the user to anonymize timestamps and delete parts of huge GPX tracks very fast." />
    2727                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/EditGpx" />
    28                 <attribute name="Plugin-Mainversion" value="2388" />
     28                <attribute name="Plugin-Mainversion" value="2450" />
    2929                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3030            </manifest>
  • applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/EditGpxLayer.java

    r18426 r18595  
    88import java.awt.Color;
    99import java.awt.Component;
    10 import java.awt.Graphics;
     10import java.awt.Graphics2D;
    1111import java.awt.Point;
    1212import java.awt.Toolkit;
     
    2323
    2424import org.openstreetmap.josm.Main;
     25import org.openstreetmap.josm.data.Bounds;
    2526import org.openstreetmap.josm.data.gpx.GpxData;
    2627import org.openstreetmap.josm.data.gpx.GpxTrack;
     
    106107
    107108    @Override
    108     public void paint(Graphics g, MapView mv) {
     109    public void paint(Graphics2D g, MapView mv, Bounds bounds) {
    109110        g.setColor(Color.yellow);
    110111
Note: See TracChangeset for help on using the changeset viewer.