+2010-06-27 speedometer 0.99 (Midsummer)
+ * Final release for Diablo
+ * All new high contrast graphics
+ * Added knots as new unit
+ * No more cardware
+
2009-02-20 speedometer 0.32 (Toups)
* Fixed a bug that caused a crash when the speed was more than
install -D data/speedometer.desktop $(DESTDIR)/usr/share/applications/hildon/speedometer.desktop
install -D data/speedometer.service $(DESTDIR)/usr/share/dbus-1/services/speedometer.service
install -d $(DESTDIR)/usr/share/speedometer/
- install data/*.png $(DESTDIR)/usr/share/speedometer/
+ install gfx/*.png $(DESTDIR)/usr/share/speedometer/
install -D icons/speedometer-64.png $(DESTDIR)/usr/share/icons/hicolor/scalable/hildon/speedometer.png
uninstall:
This application and all its files are released under
GPL license. See COPYING for the whole license text.
-There is one catch though.. If you really like this
-program I would like to get a postcard from you.
-
-This is *not* to say you have to but it would be very nice.
-
-See http://en.wikipedia.org/wiki/Cardware if you don't know
-what this means.
-
-Anyway, here goes the address:
-
-Wellu Mäkinen
-Poste restante
-33580 Tampere
-FINLAND
-
This application has been tested and developed solely
on Nokia N810 which has internal GPS receiver. It
*might* work on Nokia N800 with a Bluetooth GPS dongle
+speedometer (0.99) unstable; urgency=low
+
+ * Final release for Diablo.
+ * All new high contrast graphics including knots.
+
+ -- Wellu Mäkinen <wellu@wellu.org> Sun, 27 Jun 2010 10:59:54 +0300
+
speedometer (0.32) unstable; urgency=low
* Fixed a crash when speed is more than 1000 km/h.
usr/share/speedometer/ms.png usr/share/speedometer/10.png
usr/share/speedometer/kmh.png usr/share/speedometer/11.png
usr/share/speedometer/mph.png usr/share/speedometer/12.png
-usr/share/speedometer/fs.png usr/share/speedometer/13.png
+usr/share/speedometer/fts.png usr/share/speedometer/13.png
+usr/share/speedometer/knot.png usr/share/speedometer/14.png
+
*/
gdouble conversion[] = { 1, 3.6, 2.237, 3.281, 1.944 };
guint unit = 1;
-#define UNIT_COUNT 4
+#define UNIT_COUNT 5
// TODO: wrap this mess up somewhere
-// TODO: knot graphics are missing
-static GdkPixbuf* big_graphics[14];
-static GdkPixbuf* small_graphics[14];
+static GdkPixbuf* big_graphics[15];
+static GdkPixbuf* small_graphics[15];
static GtkWidget* digits[5];
static GtkWidget* unit_graphic;
* and store the pixbufs to the array. Pixbufs are
* correct size to be used in the big digits.
*/
- while(i < 14) {
+ while(i < 15) {
char* path = g_malloc(30);
g_sprintf(path, IMAGE_PATH, i);
g_print(path);
"This program is licensed under GNU General Public License, "
"which means (among other things) that you don't have to pay "
"a dime for it. "
- "If you think, however, that this software is worth it, you "
- "can always drop me a postcard.\n\n"
- "Wellu Mäkinen\n"
- "Poste restante\n"
- "33580 Tampere\n"
- "FINLAND\n\n"
"PS. Long-tapping on the screen will quit the program.");
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);