Opened 8 years ago

Closed 8 years ago

#643 closed enhancement/feature request (fixed)

Stopwatch OSD

Reported by: tegzed Owned by: number6
Priority: minor Milestone:
Component: core Version: git master
Severity: Keywords: osd stopwatch gui
Cc: http://wiki.navit-project.org/index.php/user:tegzed

Description

Hello,

I have just created a little stopwatch OSD module for navit (see attached patch file). This module displays a stopwatch as an OSD element. Clicking on it toggles counting, double clicking resets the timer and sets it to stopped state. I found it useful when I wanted to measure the time taking certain pathes in the city during traffic jam. This accepts the standard osd attibutes like x,y,w,h etc. and the type of the osd should be set to "stopwatch". For example my stopwatch osd line is the following:

<osd enabled="yes" type="stopwatch" w="100" h="50"  x="130" y="-400"   font_size="350" />

If you also think it's useful please commit it to svn.

Regards, David Tegze

Attachments (2)

osd_core.c.stopwatch.diff (4.4 KB) - added by tegzed 8 years ago.
stopwatch osd , hours fixed
osd_core.c.643.diff (5.3 KB) - added by number6 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by tegzed

  • Cc http://wiki.navit-project.org/index.php/user:tegzed added
  • Priority changed from major to minor
  • Type changed from defect/bug to enhancement/feature request

Changed 8 years ago by tegzed

stopwatch osd , hours fixed

comment:2 Changed 8 years ago by tegzed

I just updated the patch to fix hour calculation.

comment:3 Changed 8 years ago by number6

  • Owner changed from KaZeR to number6
  • Status changed from new to assigned

Changed 8 years ago by number6

comment:4 Changed 8 years ago by number6

  • Keywords osd stopwatch gui added
  • Resolution set to fixed
  • Status changed from assigned to closed

Function added in Revision 3549.

Thanks David

Note: See TracTickets for help on using tickets.