Navit - Fixed car mode. Increased icon size for tablet

This commit is contained in:
Gaston Gonzalez
2024-10-02 09:10:44 -07:00
parent f261ee5f51
commit 099be2a84e
3 changed files with 7 additions and 2125 deletions
+3 -3
View File
@@ -58,7 +58,7 @@
Options include internal (optimized for touch screen devices), gtk (useful for desktop computers). 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 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="yes" menubar="1" toolbar="1" statusbar="1"/> <gui type="gtk" enabled="no" menubar="1" toolbar="1" statusbar="1"/>
<!-- <!--
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. 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: Here's an example for a freerunner:
@@ -69,7 +69,7 @@
The action that appears on map click is configurable with the attribute "on_map_click". The action that appears on map click is configurable with the attribute "on_map_click".
To get the previous behaviour of showing the map point menu use on_map_click='menu("#Map Point")' To get the previous behaviour of showing the map point menu use on_map_click='menu("#Map Point")'
--> -->
<gui type="internal" enabled="no" fullscreen="1"><![CDATA[ <gui type="internal" enabled="yes" fullscreen="1" font_size="250" icon_xs="48" icon_s="48" icon_l="192"><![CDATA[
<html> <html>
<a name='Main Menu'><text>Main menu</text> <a name='Main Menu'><text>Main menu</text>
<a href='#Actions'><img src='gui_actions'>Actions</img></a> <a href='#Actions'><img src='gui_actions'>Actions</img></a>
@@ -410,7 +410,7 @@ Waypoint</text></img>
<speech type="cmdline" data="echo 'Fix the speech tag in navit.xml to let navit say:' '%s'" cps="15"/> <speech type="cmdline" data="echo 'Fix the speech tag in navit.xml to let navit say:' '%s'" cps="15"/>
--> -->
<speech type="cmdline" data="espeak -s 150 -v english_rp %s"/> <speech type="cmdline" data="espeak -s 150 %s"/>
<!-- <!--
Instead of using a speech synthesizer, navit can also play pre-recorded samples for each word. Instead of using a speech synthesizer, navit can also play pre-recorded samples for each word.
See http://wiki.navit-project.org/index.php/Configuration for details. See http://wiki.navit-project.org/index.php/Configuration for details.
File diff suppressed because it is too large Load Diff
+4
View File
@@ -8,10 +8,14 @@
# The Navit package is broken in the Ubuntu repository. The following installation is based # The Navit package is broken in the Ubuntu repository. The following installation is based
# on a fixed reported in https://github.com/navit-gps/navit/issues/1228 # on a fixed reported in https://github.com/navit-gps/navit/issues/1228
# navit-gui-internal required for car display
# navit-graphics-gtk-drawing-area required for desktop display
apt install \ apt install \
navit \ navit \
navit-gui-gtk \ navit-gui-gtk \
navit-graphics-gtk-drawing-area \ navit-graphics-gtk-drawing-area \
navit-gui-internal \
libcanberra-gtk-dev \ libcanberra-gtk-dev \
maptool \ maptool \
espeak \ espeak \