diff options
author | joye <joye> | 2014-03-31 19:27:50 (GMT) |
---|---|---|
committer | joye <joye> | 2014-03-31 19:27:50 (GMT) |
commit | e3566638279b7f54da2fbc4308319293e6b0f85d (patch) | |
tree | db5f9902b2273d167a43e665475f60aced9dd68e /src/bltGrElem.h | |
parent | 6664ce18fa1f2b78f926c05f62ff276a8d5abe5c (diff) | |
download | blt-e3566638279b7f54da2fbc4308319293e6b0f85d.zip blt-e3566638279b7f54da2fbc4308319293e6b0f85d.tar.gz blt-e3566638279b7f54da2fbc4308319293e6b0f85d.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGrElem.h')
-rw-r--r-- | src/bltGrElem.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/bltGrElem.h b/src/bltGrElem.h index b4fb797..5c81573 100644 --- a/src/bltGrElem.h +++ b/src/bltGrElem.h @@ -41,6 +41,22 @@ extern "C" { #include <bltVector.h> }; +#define SHOW_NONE 0 +#define SHOW_X 1 +#define SHOW_Y 2 +#define SHOW_BOTH 3 + +#define LABEL_ACTIVE (1<<9) /* Non-zero indicates that the element's entry + * in the legend should be drawn in its active + * foreground and background colors. */ + +#define NUMBEROFPOINTS(e) MIN( \ + (e)->coords.x ? (e)->coords.x->nValues : 0, \ + (e)->coords.y ? (e)->coords.y->nValues : 0 \ + ) + +#define NORMALPEN(e) ((((e)->normalPenPtr == NULL) ? (e)->builtinPenPtr : (e)->normalPenPtr)) + typedef struct _Element Element; typedef struct { |