aboutsummaryrefslogtreecommitdiff
path: root/GraphDisplayP.h
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-22 21:05:52 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-22 21:05:52 +0000
commitc82ecd1529ab7348048ea6f50715553c7bc5ad93 (patch)
tree7fb22dfde3e697de6a5dc2f40e88934c9a4ef024 /GraphDisplayP.h
parentc1b5a19ce345f4e917dcc2c8c455ae00f08ab657 (diff)
switch to C99 (Designated Initializers)
Diffstat (limited to 'GraphDisplayP.h')
-rw-r--r--GraphDisplayP.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/GraphDisplayP.h b/GraphDisplayP.h
index 7f3adc0..4b43b75 100644
--- a/GraphDisplayP.h
+++ b/GraphDisplayP.h
@@ -6,27 +6,27 @@
#include "GraphDisplay.h"
typedef struct {
- Pixel foreground;
- XFontStruct *font;
- GC gc;
+ Pixel foreground;
+ XFontStruct *font;
+ GC gc;
} GraphDisplayPart;
typedef struct _GraphDisplayRec {
- ObjectPart object;
- GraphDisplayPart graphDisplay;
+ ObjectPart object;
+ GraphDisplayPart graphDisplay;
} GraphDisplayRec;
typedef void (*ComputeSizeProc)();
typedef struct {
- ComputeSizeProc compute_size;
- XtExposeProc expose;
- XtPointer extension;
+ ComputeSizeProc compute_size;
+ XtExposeProc expose;
+ XtPointer extension;
} GraphDisplayClassPart;
typedef struct _GraphDisplayClassRec {
- ObjectClassPart object_class;
- GraphDisplayClassPart graphDisplay_class;
+ ObjectClassPart object_class;
+ GraphDisplayClassPart graphDisplay_class;
} GraphDisplayClassRec, *GraphDisplayObjectClass;
extern GraphDisplayClassRec graphDisplayClassRec;