Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
navit- Car Navigation System
#29
Hallo,
ich würde die Archive von CarPC benutzen, da ist doch alles gemacht.
Das liebe ich am OpenSource, geiles TEAM (Toll Ein Andere Machts)

Ausgabe von gui.xml
Code:
<!-- The following line let you select which graphical user interface you'd like to use.
Options include internal (optimized for touch screen devices), gtk (useful for desktop computers).
If you don't like the internal gui, set enabled=yes for the following tag and enabled=no for the gui internal tag -->
<gui type="gtk" enabled="no" fullscreen="0" menubar="1" toolbar="1" statusbar="0"/>
<!--In case of the internal GUI, you can even influence the size of the text and of the icons in the toolbar and the viewport.
    Here's an example for a freerunner: -->
<!-- <gui type="internal" font_size="350" icon_xs="32" icon_s="96" icon_l="96"/> -->
<!-- The action that appears on map click is configurable with the attribute "on_map_click".
    To get the prvious behaviour of showing the map point menu use on_map_click='menu("#Map Point")'-->
<gui type="internal" enabled="yes" fullscreen="1" pitch="10" font_size="550" icon_xs="64" icon_s="96" icon_l="128">
    <![CDATA[
    <html>
        <a name='Main Menu'>
            <text>Main menu</text>
            <a href='#Actions'>
                <img src='gui_actions'>Actions</img>
            </a>
            <img cond='flags&amp;2' src='gui_map' onclick='back_to_map()'>
                <text>ShowMap</text>
            </img>
            <a href='#Settings'>
                <img src='gui_settings'>
                    <text>Settings</text>
                </img>
            </a>
            <a href='#Tools'>
                <img src='gui_tools'>
                    <text>Tools</text>
                </img>
            </a>
            <a href='#Route'>
                <img src='gui_settings'>
                    <text>Route</text>
                </img>
            </a>
            <img cond='navit.autozoom_active==0' src='gui_stop' onclick='navit.autozoom_active=1;redraw_map();back_to_map()'><text>AutoZoom</text></img>
            <img src='gui_quit' onclick='quit()'><text>Quit</text></img>
        </a>
        <a name='Actions'><text>Actions</text>
            <img src='gui_bookmark' onclick='bookmarks()'>
                <text>Bookmarks</text>
            </img>
            <img src='gui_formerdests' onclick='formerdests()'>
                <text>Former Destinations</text>
            </img>
            <img cond='click_coord_geo' src='gui_map' onclick='position(click_coord_geo,_("Map Point"),8|16|32|64|256)'>
                <script>write(click_coord_geo)</script>
            </img>
            <img cond='position_coord_geo' src='gui_vehicle' onclick='position(position_coord_geo,_("Vehicle Position"),8|32|64|128|256)'>
                <script>write(position_coord_geo)</script>
            </img>
            <img src='gui_town' onclick='town()'>
                <text>Town</text>
            </img>
            <img cond='navit.route.route_status&amp;1' src='gui_stop' onclick='abort_navigation();refresh()'>
                <text>StopNavigation</text>
            </img>
        </a>
        <a name='Settings'><text>Settings</text>
            <a href='#Settings Display'>
                <img src='gui_display'>
                    <text>Display</text>
                </img>
            </a>
            <img src='gui_maps' onclick='setting_maps()'>
                <text>Maps</text>
            </img>
            <!-- <a href='#Settings Maps'>
                <img src='gui_maps'>
                    <text>Maps</text>
                </img>
            </a> -->
            <img src='gui_vehicle' onclick='setting_vehicle()'>
                <text>Vehicle</text>
            </img>
            <!-- <a href='#Settings Vehicles'>
                <img src='gui_vehicle'>
                    <text>Vehicle</text>
                </img>
            </a> -->
            <img src='gui_rules' onclick='setting_rules()'>
                <text>Rules</text>
            </img>
        </a>
        <a name='Settings Display'><text>Display</text>
            <!-- <img src='gui_display' onclick='setting_layout()'>
                <text>Layout</text>
            </img> -->
            <a href='#Settings Layouts'>
                <img src='gui_display'>
                    <text>Layout</text>
                </img>
            </a>
            <img cond='fullscreen==0' src='gui_fullscreen' onclick='fullscreen=1'>
                <text>Fullscreen</text>
            </img>
            <img cond='fullscreen==1' src='gui_leave_fullscreen' onclick='fullscreen=0'>
                <text>Window Mode</text>
            </img>
            <img cond='navit.pitch==0' src='gui_map' onclick='navit.pitch=pitch;redraw_map();back_to_map()'>
                <text>3D</text>
            </img>
            <img cond='navit.pitch!=0' src='gui_map' onclick='navit.pitch=0;redraw_map();back_to_map()'>
                <text>2D</text>
            </img>
        </a>
        <a name='Tools'><text>Tools</text>
            <img src='gui_actions' onclick='locale()'>
                <text>Show Locale</text>
            </img>
        </a>
        <a name='Route'><text>Route</text>
            <img src='gui_actions' onclick='route_description()'>
                <text>Description</text>
            </img>
            <img src='gui_actions' onclick='route_height_profile()'>
                <text>Height Profile</text>
            </img>
            <img cond='navit.waypoints_flag &amp;&amp; (navit.route.route_status&amp;1)' src='cursor_still' onclick='waypoints()'>
                <text>Waypoints</text>
            </img>
            <img cond='navit.waypoints_flag &amp;&amp; (navit.route.route_status&amp;1)' src='gui_stop' onclick='navit.route_remove_last_waypoint()'>
                <text>Drop last Waypoint</text>
            </img>
            <img cond='navit.waypoints_flag &amp;&amp; (navit.route.route_status&amp;1)' src='gui_stop' onclick='navit.route_remove_next_waypoint()'>
                <text>Drop next Waypoint</text>
            </img>
        </a>
        <a name='Map Point'><text>Map Point</text>
            <script>position(click_coord_geo,_("Map Point"),8|16|32|64|256)</script>
        </a>
        <a name='Settings Layouts' class='clist' refresh_cond='navit.layout'>
            <text>Layout</text>
            <script>
                foreach(layout;navit.layout)
                    img("centry", navit.layout==layout?"gui_active":"gui_inactive", layout.name,"", "navit.layout=navit.layout[@name==%{se}*]", layout.name);
            </script>
        </a>
        <a name='Settings Maps' class='clist'>
            <text>Maps</text>
            <script>
                foreach(map;navit.mapset.map)
                    if (map.description)
                        img("centry",map.active?"gui_active":"gui_inactive", map.description,"","navit.mapset.map[@description==%{se}].active=%{d}*",map.description,!map.active,"redraw_map();refresh();");
                    else
                        img("centry",map.active?"gui_active":"gui_inactive", map.type+":"+map.data,"","navit.mapset.map[@data==%{se}].active=%{d}*",map.data,!map.active,"redraw_map();refresh();");
            </script>
        </a>
        <a name='Settings Vehicles' class='clist'>
            <text>Vehicle</text>
            <script>
                foreach(vehicle;navit.vehicle)
                    img("centry",navit.vehicle==vehicle?"gui_active":"gui_inactive",vehicle.name,"name=%{se};menu(\"#Settings Vehicle\")",vehicle.name);
            </script>
        </a>
        <a name='Settings Vehicle' class='clist'>
            <script>write(name)</script>
            <script>
                foreach(vehicle;navit.vehicle)
                    if (vehicle.name == name) {
                        if (vehicle!=navit.vehicle)
                            img("centry","gui_active","Set as active","","navit.vehicle=navit.vehicle[@name==%{se}*]",name);
                        foreach(vehicleprofile;navit.vehicleprofile)
                            img("centry",vehicle.profilename==vehicleprofile.name?"gui_active":"gui_inactive",vehicleprofile.name,"","navit.vehicle[@name=%{se}].profilename=%{se}*",name,vehicleprofile.name,"refresh()");
                    }
            </script>
        </a>
        <a name='Satellite Status' class='clist'>
            <text>Satellite Status</text>
            <script>satellite_status_page()</script>
        </a>
        <a name='NMEA Data' class='clist'>
            <text>NMEA Data</text>
            <script>nmea_data_page()</script>
        </a>
    </html>
    ]]>
</gui>
Da gibts noch eine naxit.xml in 
carpc20150329/rpi-carpc-update/opt/carpc/navit/navit/navit.xml
Gruß


Angehängte Dateien Thumbnail(s)
   
Zitieren


Nachrichten in diesem Thema
navit- Car Navigation System - von harryberlin - 18.08.2015, 16:50
RE: navit- Car Navigation System - von romi - 19.08.2015, 08:45
RE: navit- Car Navigation System - von romi - 19.08.2015, 12:22
RE: navit- Car Navigation System - von romi - 19.08.2015, 14:33
RE: navit- Car Navigation System - von romi - 19.08.2015, 15:21
RE: navit- Car Navigation System - von romi - 20.08.2015, 09:32
RE: navit- Car Navigation System - von romi - 20.08.2015, 13:13
RE: navit- Car Navigation System - von romi - 20.08.2015, 13:57
RE: navit- Car Navigation System - von N3mesis - 15.11.2015, 14:37
RE: navit- Car Navigation System - von N3mesis - 16.11.2015, 23:41
RE: navit- Car Navigation System - von Derhelge - 28.11.2015, 16:51
RE: navit- Car Navigation System - von N3mesis - 29.11.2015, 10:15
RE: navit- Car Navigation System - von Derhelge - 29.11.2015, 10:57
RE: navit- Car Navigation System - von N3mesis - 29.11.2015, 16:38
RE: navit- Car Navigation System - von N3mesis - 29.11.2015, 17:47
RE: navit- Car Navigation System - von N3mesis - 18.04.2016, 20:24
RE: navit- Car Navigation System - von N3mesis - 18.04.2016, 20:59
RE: navit- Car Navigation System - von N3mesis - 18.04.2016, 21:05
RE: navit- Car Navigation System - von N3mesis - 19.04.2016, 01:14
RE: navit- Car Navigation System - von N3mesis - 19.04.2016, 16:14
RE: navit- Car Navigation System - von N3mesis - 22.05.2016, 22:48
RE: navit- Car Navigation System - von N3mesis - 23.05.2016, 00:24
RE: navit- Car Navigation System - von N3mesis - 24.05.2016, 21:20
RE: navit- Car Navigation System - von N3mesis - 25.05.2016, 12:46
RE: navit- Car Navigation System - von Derhelge - 31.05.2016, 09:04
RE: navit- Car Navigation System - von N3mesis - 31.05.2016, 13:00
RE: navit- Car Navigation System - von Derhelge - 31.05.2016, 13:21
RE: navit- Car Navigation System - von N3mesis - 31.05.2016, 14:14
RE: navit- Car Navigation System - von N3mesis - 31.05.2016, 22:59
RE: navit- Car Navigation System - von N3mesis - 01.06.2016, 12:16
RE: navit- Car Navigation System - von N3mesis - 01.06.2016, 13:14
RE: navit- Car Navigation System - von N3mesis - 05.06.2016, 12:46
RE: navit- Car Navigation System - von N3mesis - 11.06.2016, 16:20
RE: navit- Car Navigation System - von N3mesis - 16.04.2018, 15:10
RE: navit- Car Navigation System - von N3mesis - 28.08.2018, 14:44
RE: navit- Car Navigation System - von N3mesis - 30.10.2018, 23:06
navit- Car Navigation System - von b3m3 - 19.08.2015, 07:21

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 3 Gast/Gäste