diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2020-05-21 16:17:03 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2020-05-21 16:17:03 (GMT) |
commit | 86c67055812b4e3395e4f2b832aac81b4a5bfa34 (patch) | |
tree | b1876163d7e46dc9d2466745280ed765653cc277 /tksao/tkutil | |
parent | 7e4f261675aab618fcae25c7c5a8fb79ee3813e9 (diff) | |
download | blt-86c67055812b4e3395e4f2b832aac81b4a5bfa34.zip blt-86c67055812b4e3395e4f2b832aac81b4a5bfa34.tar.gz blt-86c67055812b4e3395e4f2b832aac81b4a5bfa34.tar.bz2 |
cleanup code
Diffstat (limited to 'tksao/tkutil')
-rw-r--r-- | tksao/tkutil/gridbase.C | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tksao/tkutil/gridbase.C b/tksao/tkutil/gridbase.C index 92f73ba..19b190b 100644 --- a/tksao/tkutil/gridbase.C +++ b/tksao/tkutil/gridbase.C @@ -270,6 +270,7 @@ void GridBase::psColor(Attribute* attr) int GridBase::macosxLine(int n, float* x, float* y) { + /* if (n<2 || !x || !y) return 1; @@ -291,6 +292,7 @@ int GridBase::macosxLine(int n, float* x, float* y) macosxDrawLines(v, n); delete [] v; + */ return 1; } @@ -298,6 +300,7 @@ int GridBase::macosxLine(int n, float* x, float* y) int GridBase::macosxText(const char* txt, float x, float y, const char* just, Vector up) { + /* // change this later Tcl_DString psdstr; Tcl_DStringInit(&psdstr); @@ -312,6 +315,7 @@ int GridBase::macosxText(const char* txt, float x, float y, macosxColor(parent_->getXColor(text_->colorName())); macosxDrawText(cc, angle, txt); + */ return 1; } |