summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjoye <joye>2014-03-31 21:23:10 (GMT)
committerjoye <joye>2014-03-31 21:23:10 (GMT)
commit23f026d050cd74cb75e78358e9fdda76add15e0e (patch)
treede6f11a98f956817248b40606af54b86bca1416d /src
parent7a4a667ece8c31bb0c9bbcdb1689324d73a85348 (diff)
downloadblt-23f026d050cd74cb75e78358e9fdda76add15e0e.zip
blt-23f026d050cd74cb75e78358e9fdda76add15e0e.tar.gz
blt-23f026d050cd74cb75e78358e9fdda76add15e0e.tar.bz2
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/bltGrElem.h15
-rw-r--r--src/bltGrElemBar.h25
-rw-r--r--src/bltGrElemLine.h31
3 files changed, 71 insertions, 0 deletions
diff --git a/src/bltGrElem.h b/src/bltGrElem.h
index ee64fd3..9f3381e 100644
--- a/src/bltGrElem.h
+++ b/src/bltGrElem.h
@@ -121,6 +121,20 @@ typedef struct {
} ElementProcs;
typedef struct {
+ char** tags;
+ int hide;
+ const char* label;
+ Axis2d axes;
+ ElemCoords coords;
+ ElemValues* w;
+ ElemValues* xError;
+ ElemValues* yError;
+ ElemValues* xHigh;
+ ElemValues* xLow;
+ ElemValues* yHigh;
+ ElemValues* yLow;
+ int legendRelief;
+ Blt_Chain stylePalette;
} ElemOptions;
typedef struct _Element {
@@ -128,6 +142,7 @@ typedef struct _Element {
unsigned int flags;
int hide;
Tcl_HashEntry *hashPtr;
+ void* ops;
// Fields specific to elements
const char *label;
diff --git a/src/bltGrElemBar.h b/src/bltGrElemBar.h
index b078de6..0a1485f 100644
--- a/src/bltGrElemBar.h
+++ b/src/bltGrElemBar.h
@@ -39,10 +39,35 @@ using namespace std;
#include "bltGrPenBar.h"
typedef struct {
+ char** tags;
+ int hide;
+ const char *label;
+ Axis2d axes;
+ ElemCoords coords;
+ ElemValues* w;
+ ElemValues* xError;
+ ElemValues* yError;
+ ElemValues* xHigh;
+ ElemValues* xLow;
+ ElemValues* yHigh;
+ ElemValues* yLow;
+ int legendRelief;
+ Blt_Chain stylePalette;
+
+ BarPen builtinPen;
+ BarPen *activePenPtr;
+ BarPen *normalPenPtr;
+
+ double barWidth;
+ const char *groupName;
+} ElemBarOptions;
+
+typedef struct {
GraphObj obj;
unsigned int flags;
int hide;
Tcl_HashEntry *hashPtr;
+ void* ops;
// Fields specific to elements
const char *label;
diff --git a/src/bltGrElemLine.h b/src/bltGrElemLine.h
index 6a01b9d..60b8c6b 100644
--- a/src/bltGrElemLine.h
+++ b/src/bltGrElemLine.h
@@ -45,10 +45,41 @@ typedef struct {
} GraphPoints;
typedef struct {
+ char** tags;
+ int hide;
+ const char* label;
+ Axis2d axes;
+ ElemCoords coords;
+ ElemValues* w;
+ ElemValues* xError;
+ ElemValues* yError;
+ ElemValues* xHigh;
+ ElemValues* xLow;
+ ElemValues* yHigh;
+ ElemValues* yLow;
+ int legendRelief;
+ Blt_Chain stylePalette;
+
+ LinePen builtinPen;
+ LinePen *activePenPtr;
+ LinePen *normalPenPtr;
+
+ XColor* fillFgColor;
+ Tk_3DBorder fillBg;
+ int reqMaxSymbols;
+ double rTolerance;
+ int scaleSymbols;
+ Smoothing reqSmooth;
+ int state;
+ int penDir;
+} ElemLineOptions;
+
+typedef struct {
GraphObj obj;
unsigned int flags;
int hide;
Tcl_HashEntry *hashPtr;
+ void* ops;
// Fields specific to elements
const char* label;