Changeset 10069 in josm
- Timestamp:
- 2016-03-28T14:41:27+02:00 (7 years ago)
- Location:
- trunk
- Files:
-
- 1 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/geticons.pl
r9958 r10069 30 30 { 31 31 next if $l =~ /NO-ICON/; 32 if($l =~ /icon\s*[:=]\s*["']([^ +]+?)["']/)32 if($l =~ /icon\s*[:=]\s*["']([^"'+]+?)["']/) 33 33 { 34 34 ++$icons{$1}; … … 46 46 { 47 47 my $i = $1; 48 $i = "styles/standard/$i" if $i eq "misc/no_icon .png";48 $i = "styles/standard/$i" if $i eq "misc/no_icon"; 49 49 ++$icons{$i}; 50 50 } … … 69 69 ++$icons{$i}; 70 70 } 71 if($l =~ /ImageProvider\.get\(\"(.*?)\",\s*\"(.*?)\"\s*\)/) 71 if($l =~ /setIcon\(\"(.*?)\"/) 72 { 73 my $i = "statusline/$1"; 74 ++$icons{$i}; 75 } 76 if($l =~ /ImageProvider\.get(?:IfAvailable)?\(\"(.*?)\",\s*\"(.*?)\"\s*\)/) 77 { 78 my $i = "$1/$2"; 79 ++$icons{$i}; 80 } 81 if($l =~ /new ImageProvider\(\"(.*?)\",\s*\"(.*?)\"\s*\)/) 72 82 { 73 83 my $i = "$1/$2"; … … 116 126 ++$icons{$i}; 117 127 } 118 if($l =~ / \.setButtonIcons.*\{(.*)\}/)128 if($l =~ /setButtonIcons.*\{(.*)\}/) 119 129 { 120 130 my $t = $1; … … 132 142 { 133 143 $extends = "dialogs/"; 144 } 145 elsif($l =~ /extends JosmAction/) 146 { 147 $extends = ""; 134 148 } 135 149 }
Note: See TracChangeset
for help on using the changeset viewer.