aboutsummaryrefslogtreecommitdiff
path: root/BarDisplayP.h
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-20 00:16:30 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-20 00:16:30 +0000
commit22751b71809fca1bf028adcfb4157b0ffd84543a (patch)
tree1da4372e9395974f1e89002ccf6665f861f7c14f /BarDisplayP.h
initial import of demomonitor example
Diffstat (limited to 'BarDisplayP.h')
-rw-r--r--BarDisplayP.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/BarDisplayP.h b/BarDisplayP.h
new file mode 100644
index 0000000..ea8359c
--- /dev/null
+++ b/BarDisplayP.h
@@ -0,0 +1,31 @@
+#ifndef _BarDisplayP_h
+#define _BarDisplayP_h
+
+#include "BarDisplay.h"
+#include "GraphDisplayP.h"
+
+typedef struct {
+ Dimension space;
+ Dimension default_graph_width;
+ String format;
+} BarDisplayPart;
+
+typedef struct _BarDisplayRec {
+ ObjectPart object;
+ GraphDisplayPart graphDisplay;
+ BarDisplayPart barDisplay;
+} BarDisplayRec;
+
+typedef struct {
+ XtPointer extension;
+} BarDisplayClassPart;
+
+typedef struct _BarDisplayClassRec {
+ ObjectClassPart object_class;
+ GraphDisplayClassPart graphDisplay_class;
+ BarDisplayClassPart barDisplay_class;
+} BarDisplayClassRec, *BarDisplayObjectClass;
+
+extern BarDisplayClassRec barDisplayClassRec;
+
+#endif