summaryrefslogtreecommitdiff
path: root/Tachometer.c
diff options
context:
space:
mode:
authorRemco Treffkorn <remco@rvt.com>2002-10-27 01:35:49 +0000
committerRemco Treffkorn <remco@rvt.com>2002-10-27 01:35:49 +0000
commitd5869b801d499d3e96ab800d80a886e5c7f12963 (patch)
treee3ff5a27854af9d08a54d188661c9adae4b7838b /Tachometer.c
parent2bbd8b93fe322a3735a6e48115de7bb24739cd3a (diff)
downloadgpsd-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.c21
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();