diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2004-10-04 16:54:41 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2004-10-04 16:54:41 +0000 |
commit | f3f32e2505438f236dfdc696f0124c787bc01f33 (patch) | |
tree | 39df880c2824001a2f70474cb3bd2e644174dcc1 /TachometerP.h | |
parent | 84f3f4ded2c8a594f49d661f8293405bf5af5fba (diff) | |
download | gpsd-f3f32e2505438f236dfdc696f0124c787bc01f33.tar.gz |
BSD port fixes and more code cleanup.
Diffstat (limited to 'TachometerP.h')
-rw-r--r-- | TachometerP.h | 33 |
1 files changed, 6 insertions, 27 deletions
diff --git a/TachometerP.h b/TachometerP.h index 50a4a62a..1238ab03 100644 --- a/TachometerP.h +++ b/TachometerP.h @@ -1,17 +1,11 @@ +/* TachometerP.h -- Tachometer widget private data */ #ifndef _TachometerP_h #define _TachometerP_h -/*********************************************************************** - * - * Tachometer Widget Private Data - * - ***********************************************************************/ - #include <Tachometer.h> #include <X11/Xaw/SimpleP.h> /* New fields for the Tachometer widget class record */ - typedef struct {int foo;} TachometerClassPart; /* Full class record declaration */ @@ -26,32 +20,17 @@ extern TachometerClassRec tachometerClassRec; /* New fields for the Tachometer widget record */ typedef struct { /* resources */ - Pixel needle; - Pixel scale; - Pixel circle; - int value; - int speed; - + Pixel needle, scale, circle; + int value, speed; /* private state */ - GC needle_GC; - GC scale_GC; - GC circle_GC; - GC background_GC; + GC needle_GC, scale_GC, circle_GC, background_GC; /* We need to store the width and height separately, because when */ /* we get a resize request, we need to know if the window has */ /* gotten bigger. */ - Dimension width; - Dimension height; - Dimension internal_border; + Dimension width, height, internal_border; } TachometerPart; - -/**************************************************************** - * - * Full instance record declaration - * - ****************************************************************/ - +/* Full instance record declaration */ typedef struct _TachometerRec { CorePart core; SimplePart simple; |