Add:core:Added wifi icon from latouche
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 3 Jul 2008 21:24:15 +0000 (21:24 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 3 Jul 2008 21:24:15 +0000 (21:24 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@1194 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/item_def.h
navit/script/wiki2def
navit/xpm/Makefile.am
navit/xpm/wifi.xpm [new file with mode: 0644]

index b58eea2..802fb9b 100644 (file)
@@ -259,6 +259,7 @@ ITEM(poi_townhall)
 ITEM(poi_level_crossing)
 ITEM(poi_rail_halt)
 ITEM(poi_rail_tram_stop)
+ITEM(poi_wifi)
 /* Line */
 ITEM2(0x80000000,line)
 ITEM2(0x80000001,line_unspecified)
index ab83493..bbbbb5b 100755 (executable)
@@ -2,8 +2,31 @@
 rm -f item_def.h.wiki
 rm -f osmmap_def.h.wiki
 IFS="|"
-echo "/* This file is generated from http://wiki.navit-project.org/index.php/Item_def.h, do not edit it, edit the wiki page instead */" >item_def.h.wiki
-echo "/* This file is generated from http://wiki.navit-project.org/index.php/Item_def.h, do not edit it, edit the wiki page instead */" >osmmap_def.h.wiki
+for file in item_def.h.wiki osmmap_def.h.wiki
+do
+       cat <<\EOT >$file
+/**
+ * Navit, a modular navigation system.
+ * Copyright (C) 2005-2008 Navit Team
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this program; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA  02110-1301, USA.
+ */
+
+/* This file is generated from http://wiki.navit-project.org/index.php/Item_def.h, do not edit it, edit the wiki page instead */
+EOT
+done
 type="n"
 wget -O - "http://wiki.navit-project.org/index.php/Item_def.h?action=edit" |
 awk '/<textarea/,/<\/textarea/ { print $0 }' | 
index 913bc8a..c9f96b3 100644 (file)
@@ -58,6 +58,7 @@ xpm_DATA += townhall.xpm
 xpm_DATA += traffic_signals.xpm
 xpm_DATA += trailerpark.xpm
 xpm_DATA += unknown.xpm
+xpm_DATA += wifi.xpm
 
 svgs  = gui_actions.svg
 svgs += gui_active.svg
diff --git a/navit/xpm/wifi.xpm b/navit/xpm/wifi.xpm
new file mode 100644 (file)
index 0000000..63be9bc
--- /dev/null
@@ -0,0 +1,21 @@
+/* XPM */
+static char * wifi_xpm[] = {
+"13 15 3 1",
+"      c None",
+".     c #0000FF",
+"+     c #000000",
+"    .....    ",
+"   .     .   ",
+"  .  ...  .  ",
+" .  .   .  . ",
+".  .     .  .",
+". .  +++  . .",
+". .  +++  . .",
+". .  +++  . .",
+".  .  +  .  .",
+" .  . + .  ..",
+"  .   +   .  ",
+"   .. + ..   ",
+"      +      ",
+"      +      ",
+"             "};