please also sent your patches to Marcus Bauer (the author of TangoGPS)<br><br><div class="gmail_quote">On Mon, Nov 2, 2009 at 4:18 PM, Joshua Judson Rosen <span dir="ltr">&lt;<a href="mailto:rozzin@geekspace.com">rozzin@geekspace.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi everybody,<br>
<br>
I&#39;ve added a feature to my copy of tangoGPS, and thought that others<br>
might be interested: it allows the *details* in the map (e.g.: text,<br>
icons) to be scaled up (to show fewer details, but make the shown<br>
details bigger) or scaled down (to render the details smaller, but<br>
show more of them).<br>
<br>
This has made tangoGPS *much* more usable for me on my FreeRunner,<br>
because I can actually read the labels for streets, etc. without<br>
holding the screen very close to my face :)<br>
<br>
(I guess that the OpenStreetMap tiles are rasterised expecting<br>
something like 96 DPI, but the FreeRunner&#39;s display runs at ~280 DPI,<br>
so text and icons used in OSM tiles is *very* small when displayed on<br>
the FreeRunner without any upsampling; `zooming the details&#39; by 1<br>
level makes everything legible at arm&#39;s length, and zooming the<br>
details by 2 levels makes the text easy to read even at a glance while<br>
driving).<br>
<br>
I&#39;ve attached 2 separate patches: one patch that adds the `back end&#39;<br>
of the feature (a new `global_detail_zoom&#39; variable with the<br>
corresponding gconf hooks, and some minor-changes to the tile-loading<br>
code), and another patch that adds the front-end GUI for the feature<br>
(an additional submenu in the map screen, and a couple of new<br>
callbacks to accompany the new menu-items).<br>
<br>
I added the submenu and menu-items manually in interface.c--it looks<br>
like Marcus is using Glade to maintain the GUI, but I&#39;m not entirely<br>
sure (I didn&#39;t see glade-file in the tarball...); if he still *is*<br>
using Glade, then it may make more sense to defined these submenus via<br>
Glade.<br>
<font color="#888888"><br>
--<br>
Don&#39;t be afraid to ask (Lf.((Lx.xx) (Lr.f(rr)))).<br>
<br>
</font><br>_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
<br></blockquote></div><br>