summaryrefslogtreecommitdiffstats
path: root/src/bltGrElem.h
diff options
context:
space:
mode:
authorjoye <joye>2014-04-22 16:30:58 (GMT)
committerjoye <joye>2014-04-22 16:30:58 (GMT)
commitd057058a5547241b50fb6516bdd1fbefbb1b3654 (patch)
tree08596036be9bba1f8da1cc7ffd23b6b9d723176b /src/bltGrElem.h
parent8927112d1b78a02312b28cef7fd8075dda03b410 (diff)
downloadblt-d057058a5547241b50fb6516bdd1fbefbb1b3654.zip
blt-d057058a5547241b50fb6516bdd1fbefbb1b3654.tar.gz
blt-d057058a5547241b50fb6516bdd1fbefbb1b3654.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrElem.h')
-rw-r--r--src/bltGrElem.h3
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) ? \