Ignore:
Timestamp:
2009-11-14T20:01:49+01:00 (16 years ago)
Author:
jttt
Message:

Updated to new MapViewPaintable.paint arguments

Location:
applications/editors/josm/plugins/livegps
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/livegps

    • Property svn:ignore
      •  

        old new  
        33build.err
        44josm-site.xml
         5
         6bin
  • applications/editors/josm/plugins/livegps/.classpath

    r14057 r18597  
    22<classpath>
    33        <classpathentry kind="src" path="src"/>
    4         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/sun-jdk-1.5.0.15"/>
     4        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    55        <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
    66        <classpathentry kind="output" path="bin"/>
  • applications/editors/josm/plugins/livegps/build.xml

    r18404 r18597  
    2626                <attribute name="Plugin-Description" value="Support live GPS input (moving dot) through a connection to gpsd server."/>
    2727                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/LiveGPS"/>
    28                 <attribute name="Plugin-Mainversion" value="2323"/>
     28                <attribute name="Plugin-Mainversion" value="2450"/>
    2929                <attribute name="Plugin-Stage" value="50"/>
    3030                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsLayer.java

    r16945 r18597  
    44
    55import java.awt.Color;
    6 import java.awt.Graphics;
     6import java.awt.Graphics2D;
    77import java.awt.Point;
    88import java.beans.PropertyChangeEvent;
     
    1414
    1515import org.openstreetmap.josm.Main;
     16import org.openstreetmap.josm.data.Bounds;
    1617import org.openstreetmap.josm.data.coor.LatLon;
    1718import org.openstreetmap.josm.data.gpx.GpxData;
     
    2021import org.openstreetmap.josm.gui.MapView;
    2122import org.openstreetmap.josm.gui.layer.GpxLayer;
    22 import org.openstreetmap.josm.tools.ColorHelper;
    2323
    2424public class LiveGpsLayer extends GpxLayer implements PropertyChangeListener {
     
    101101    }
    102102
    103     @Override public void paint(Graphics g, MapView mv)
     103    @Override public void paint(Graphics2D g, MapView mv, Bounds bounds)
    104104    {
    105105        //System.out.println("in paint");
    106106        synchronized (LiveGpsLock.class) {
    107107            //System.out.println("in synced paint");
    108             super.paint(g, mv);
     108            super.paint(g, mv, bounds);
    109109//          int statusHeight = 50;
    110110//          Rectangle mvs = mv.getBounds();
Note: See TracChangeset for help on using the changeset viewer.