summaryrefslogtreecommitdiffstats
path: root/tksao/frame/basecommand.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2020-03-10 17:38:07 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2020-03-10 17:38:07 (GMT)
commitf7fbfc9c0c0b92119f10983c9734181477014582 (patch)
tree7401e1e4288421d630d354964cc2060ffa5c27a2 /tksao/frame/basecommand.C
parent7d74f4cf92131e925afc3b73d316d4210ad472b6 (diff)
downloadblt-f7fbfc9c0c0b92119f10983c9734181477014582.zip
blt-f7fbfc9c0c0b92119f10983c9734181477014582.tar.gz
blt-f7fbfc9c0c0b92119f10983c9734181477014582.tar.bz2
implement 'minmax rescan' command
Diffstat (limited to 'tksao/frame/basecommand.C')
-rw-r--r--tksao/frame/basecommand.C8
1 files changed, 8 insertions, 0 deletions
diff --git a/tksao/frame/basecommand.C b/tksao/frame/basecommand.C
index 9c783e3..fb85638 100644
--- a/tksao/frame/basecommand.C
+++ b/tksao/frame/basecommand.C
@@ -310,6 +310,14 @@ void Base::clipMinMaxCmd(FrScale::MinMaxMode mm, int ss)
}
}
+void Base::clipMinMaxRescanCmd()
+{
+ currentContext->clearHist();
+ currentContext->rescanClip();
+ updateColorScale();
+ update(BASE);
+}
+
// backward compatibility backup
void Base::clipMinMaxModeCmd(FrScale::MinMaxMode mm)
{