summaryrefslogtreecommitdiffstats
path: root/tksao/tkutil/gridbase.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2020-03-31 19:55:01 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2020-03-31 19:55:01 (GMT)
commitc3a65c37b2b537f91626a8153ae7761f0a49a3aa (patch)
treed09dfaedad087bb33cff9ca418eb5b26e2a5bd52 /tksao/tkutil/gridbase.C
parent67a88378bc07ac6c2dc251117891c1d127842698 (diff)
downloadblt-c3a65c37b2b537f91626a8153ae7761f0a49a3aa.zip
blt-c3a65c37b2b537f91626a8153ae7761f0a49a3aa.tar.gz
blt-c3a65c37b2b537f91626a8153ae7761f0a49a3aa.tar.bz2
clean up code
Diffstat (limited to 'tksao/tkutil/gridbase.C')
-rw-r--r--tksao/tkutil/gridbase.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/tksao/tkutil/gridbase.C b/tksao/tkutil/gridbase.C
index 87e846d..af795b5 100644
--- a/tksao/tkutil/gridbase.C
+++ b/tksao/tkutil/gridbase.C
@@ -3,7 +3,6 @@
// For conditions of distribution and use, see copyright notice in "copyright"
#include "util.h"
-#include "tkx11.h"
#include "tkutil.h"
#include "gridbase.h"
#include "attribute.h"
@@ -267,6 +266,8 @@ void GridBase::psColor(Attribute* attr)
}
#ifdef MAC_OSX_TK
+#include <macosxlib.h>
+
int GridBase::macosxLine(int n, float* x, float* y)
{
if (n<2 || !x || !y)
@@ -317,6 +318,8 @@ int GridBase::macosxText(const char* txt, float x, float y,
#endif
#ifdef __WIN32
+#include <win32lib.h>
+
int GridBase::win32Line(int n, float* x, float* y)
{
if (n<2 || !x || !y)