diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2020-03-10 17:38:07 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2020-03-10 17:38:07 (GMT) |
commit | f7fbfc9c0c0b92119f10983c9734181477014582 (patch) | |
tree | 7401e1e4288421d630d354964cc2060ffa5c27a2 /tksao/frame/basecommand.C | |
parent | 7d74f4cf92131e925afc3b73d316d4210ad472b6 (diff) | |
download | blt-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.C | 8 |
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) { |