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/imagewaypoint
Files:
2 added
2 edited

Legend:

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

    r17373 r18595  
    2626                <attribute name="Plugin-Description" value="Another plugin to match images to the waypoints in a GPX file. A match is made when the 'name', 'cmt' or 'desc' attribute of a waypoint tag matches the filename of an image."/>
    2727                <attribute name="Plugin-Early" value="false"/>
    28                 <attribute name="Plugin-Mainversion" value="2012"/>
     28                <attribute name="Plugin-Mainversion" value="2450"/>
    2929                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3030            </manifest>
  • applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointLayer.java

    r17373 r18595  
    44
    55import java.awt.Component;
    6 import java.awt.Graphics;
     6import java.awt.Graphics2D;
    77import java.awt.Rectangle;
    88import java.awt.event.MouseAdapter;
     
    1313
    1414import org.openstreetmap.josm.Main;
     15import org.openstreetmap.josm.data.Bounds;
    1516import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
    1617import org.openstreetmap.josm.gui.MapView;
     
    116117
    117118    @Override
    118     public final void paint(final Graphics graphics, final MapView mapView) {
     119    public final void paint(final Graphics2D graphics, final MapView mapView, Bounds box) {
    119120        final ImageEntry[] images = ImageEntries.getInstance().getImages();
    120121
Note: See TracChangeset for help on using the changeset viewer.