diff options
Diffstat (limited to 'src/bltGrElem.h')
-rw-r--r-- | src/bltGrElem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bltGrElem.h b/src/bltGrElem.h index 3500a74..e59ad72 100644 --- a/src/bltGrElem.h +++ b/src/bltGrElem.h @@ -35,6 +35,8 @@ #include <iomanip> using namespace std; +#include <tk.h> + extern "C" { #include "bltVector.h" }; @@ -51,6 +53,7 @@ extern "C" { * in the legend should be drawn in its active * foreground and background colors. */ +#define MIN(a,b) (((a)<(b))?(a):(b)) #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) ? \ |