Changeset 13281 in josm
- Timestamp:
- 2018-01-04T23:51:00+01:00 (7 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/geticons.pl
r13279 r13281 69 69 ++$icons{$i}; 70 70 } 71 if($l =~ /createPreferenceTab\(\"(.*?)\"/)72 {73 my $i = "preferences/$1";74 ++$icons{$i};75 }76 71 if($l =~ /setIcon\(\"(.*?)\"/) 77 72 { … … 89 84 ++$icons{$i}; 90 85 } 91 if($l =~ /ImageProvider\.overlay\(.*?,\s*\"(.*?)\",/)92 {93 my $i = $1;94 ++$icons{$i};95 }96 86 if($l =~ /getCursor\(\"(.*?)\",\s*\"(.*?)\"/) 97 87 { … … 106 96 ++$icons{$i}; 107 97 } 108 if($l =~ /SideButton*\(\s*(?:mark)?tr\s*\(\s*\".*?\"\s*\)\s*,\s*\"(.*?)\"/)109 {110 my $i = "dialogs/$1";111 ++$icons{$i};112 }113 98 if($l =~ /super\(\s*tr\(\".*?\"\),\s*\"(.*?)\"/s) 114 99 { … … 119 104 { 120 105 my $i = "$extends$1"; 121 ++$icons{$i};122 }123 if($l =~ /audiotracericon\",\s*\"(.*?)\"/s)124 {125 my $i = "markers/$1";126 ++$icons{$i};127 }128 if($l =~ /\"(.*?)\",\s*parentLayer/s)129 {130 my $i = "markers/$1";131 106 ++$icons{$i}; 132 107 } -
trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java
r13257 r13281 378 378 public CombineTracksToSegmentedTrackAction(GpxLayer layer) { 379 379 // FIXME: icon missing, create a new icon for this action 380 //new ImageProvider( "gpx_tracks_to_segmented_track").getResource().attachImageIcon(this, true);380 //new ImageProvider(..."gpx_tracks_to_segmented_track").getResource().attachImageIcon(this, true); 381 381 putValue(SHORT_DESCRIPTION, tr("Collect segments of all tracks and combine in a single track.")); 382 382 putValue(NAME, tr("Combine tracks of this layer")); … … 410 410 public SplitTrackSegementsToTracksAction(GpxLayer layer) { 411 411 // FIXME: icon missing, create a new icon for this action 412 //new ImageProvider( "gpx_segmented_track_to_tracks").getResource().attachImageIcon(this, true);412 //new ImageProvider(..."gpx_segmented_track_to_tracks").getResource().attachImageIcon(this, true); 413 413 putValue(SHORT_DESCRIPTION, tr("Split multiple track segments of one track into multiple tracks.")); 414 414 putValue(NAME, tr("Split track segments to tracks")); … … 443 443 public SplitTracksToLayersAction(GpxLayer layer) { 444 444 // FIXME: icon missing, create a new icon for this action 445 //new ImageProvider( "gpx_split_tracks_to_layers").getResource().attachImageIcon(this, true);445 //new ImageProvider(..."gpx_split_tracks_to_layers").getResource().attachImageIcon(this, true); 446 446 putValue(SHORT_DESCRIPTION, tr("Split the tracks of this layer to one new layer each.")); 447 447 putValue(NAME, tr("Split tracks to new layers")); -
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/AudioMarker.java
r12630 r13281 30 30 31 31 public AudioMarker(LatLon ll, TemplateEngineDataProvider dataProvider, URL audioUrl, MarkerLayer parentLayer, double time, double offset) { 32 super(ll, dataProvider, "speech", parentLayer, time, offset);32 super(ll, dataProvider, /* ICON(markers/) */ "speech", parentLayer, time, offset); 33 33 this.audioUrl = audioUrl; 34 34 this.syncOffset = 0.0; -
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/ImageMarker.java
r10611 r13281 39 39 40 40 public ImageMarker(LatLon ll, URL imageUrl, MarkerLayer parentLayer, double time, double offset) { 41 super(ll, "photo", parentLayer, time, offset);41 super(ll, /* ICON(markers/) */ "photo", parentLayer, time, offset); 42 42 this.imageUrl = imageUrl; 43 43 } -
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/PlayHeadMarker.java
r12846 r13281 61 61 private PlayHeadMarker() { 62 62 super(LatLon.ZERO, "", 63 Config.getPref().get("marker.audiotracericon", "audio-tracer"),63 Config.getPref().get("marker.audiotracericon", /* ICON(markers/) */ "audio-tracer"), 64 64 null, -1.0, 0.0); 65 65 enabled = Config.getPref().getBoolean("marker.traceaudio", true); -
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/WebMarker.java
r12620 r13281 31 31 32 32 public WebMarker(LatLon ll, URL webUrl, MarkerLayer parentLayer, double time, double offset) { 33 super(ll, "web", parentLayer, time, offset);33 super(ll, /* ICON(markers/) */ "web", parentLayer, time, offset); 34 34 CheckParameterUtil.ensureParameterNotNull(webUrl, "webUrl"); 35 35 this.webUrl = webUrl;
Note:
See TracChangeset
for help on using the changeset viewer.