summaryrefslogtreecommitdiffstats
path: root/tksao/frame/basecommand.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-10-22 18:28:41 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-10-22 18:28:41 (GMT)
commitf1c59d1c6809ead733c3a7b226b622ff9357a210 (patch)
tree9a41ea6e18ed000df510c01070f6acc182a5538f /tksao/frame/basecommand.C
parent3a98acb6407b3570be0ebb6a730b98d24ea3afc1 (diff)
downloadblt-f1c59d1c6809ead733c3a7b226b622ff9357a210.zip
blt-f1c59d1c6809ead733c3a7b226b622ff9357a210.tar.gz
blt-f1c59d1c6809ead733c3a7b226b622ff9357a210.tar.bz2
new mask
Diffstat (limited to 'tksao/frame/basecommand.C')
-rw-r--r--tksao/frame/basecommand.C23
1 files changed, 3 insertions, 20 deletions
diff --git a/tksao/frame/basecommand.C b/tksao/frame/basecommand.C
index 6bcc2d3..5daa343 100644
--- a/tksao/frame/basecommand.C
+++ b/tksao/frame/basecommand.C
@@ -1934,20 +1934,17 @@ void Base::getIRAFAlignCmd()
void Base::getMaskColorCmd()
{
- Tcl_AppendResult(interp, maskColorName, NULL);
+ Tcl_AppendResult(interp, "red", NULL);
}
void Base::getMaskMarkCmd()
{
- if (maskMark)
- Tcl_AppendResult(interp, "1", NULL);
- else
- Tcl_AppendResult(interp, "0", NULL);
+ Tcl_AppendResult(interp, "1", NULL);
}
void Base::getMaskTransparencyCmd()
{
- printDouble((1-maskAlpha)*100.);
+ printDouble(0);
}
void Base::getMinMaxCmd()
@@ -2523,20 +2520,6 @@ void Base::matchCmd(const char* xxname1, const char* yyname1,
rrname);
}
-void Base::maskColorCmd(const char* color)
-{
- if (maskColorName)
- delete [] maskColorName;
-
- maskColorName = dupstr(color);
-}
-
-void Base::maskTransparencyCmd(float t)
-{
- maskAlpha = 1-(t/100.);
- update(BASE);
-}
-
void Base::nanColorCmd(const char* color)
{
if (nanColorName)