diff options
author | Remco Treffkorn <remco@rvt.com> | 2002-10-27 01:35:49 +0000 |
---|---|---|
committer | Remco Treffkorn <remco@rvt.com> | 2002-10-27 01:35:49 +0000 |
commit | d5869b801d499d3e96ab800d80a886e5c7f12963 (patch) | |
tree | e3ff5a27854af9d08a54d188661c9adae4b7838b /Tachometer.c | |
parent | 2bbd8b93fe322a3735a6e48115de7bb24739cd3a (diff) | |
download | gpsd-d5869b801d499d3e96ab800d80a886e5c7f12963.tar.gz |
various changes/fixes on the way to a better mousetrap
support for bigendian archs with dgps
Diffstat (limited to 'Tachometer.c')
-rw-r--r-- | Tachometer.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/Tachometer.c b/Tachometer.c index 9c952892..7f8ba77f 100644 --- a/Tachometer.c +++ b/Tachometer.c @@ -45,16 +45,16 @@ typedef struct { /* Number's character database - like as "LED" */ DigitRec num_segment[] = { - {1,1,1,1,1,1,0}, - {0,1,1,0,0,0,0}, - {1,1,0,1,1,0,1}, - {1,1,1,1,0,0,1}, - {0,1,1,0,0,1,1}, - {1,0,1,1,0,1,1}, - {1,0,1,1,1,1,1}, - {1,1,1,0,0,0,0}, - {1,1,1,1,1,1,1}, - {1,1,1,1,0,1,1}}; + {{1,1,1,1,1,1,0}}, + {{0,1,1,0,0,0,0}}, + {{1,1,0,1,1,0,1}}, + {{1,1,1,1,0,0,1}}, + {{0,1,1,0,0,1,1}}, + {{1,0,1,1,0,1,1}}, + {{1,0,1,1,1,1,1}}, + {{1,1,1,0,0,0,0}}, + {{1,1,1,1,1,1,1}}, + {{1,1,1,1,0,1,1}}}; XSegment offset[] = { {-10,-10, 10,-10}, @@ -189,7 +189,6 @@ static void DrawTachometer(); static void FastFillCircle(); static void GetneedleGC(); static void GetscaleGC(); -static void GetcSingleircleGC(); static void GetbackgroundGC(); static void DrawGauge(); static void DrawNeedle(); |