Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/WebApplication/app.js @ 1677:51bab5188a13
start multiple preset windowings
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 23 Nov 2020 19:24:18 +0100 |
parents | 0621e523b670 |
children | f2e8b3ac1dcd |
comparison
equal
deleted
inserted
replaced
1676:5e76d5e8167a | 1677:51bab5188a13 |
---|---|
621 if (canvas != '') { | 621 if (canvas != '') { |
622 stone.SetWindowing(canvas, center, width); | 622 stone.SetWindowing(canvas, center, width); |
623 } | 623 } |
624 }, | 624 }, |
625 | 625 |
626 SetDefaultWindowing: function() { | 626 SetPresetWindowing: function() { |
627 var canvas = this.GetActiveCanvas(); | 627 var canvas = this.GetActiveCanvas(); |
628 if (canvas != '') { | 628 if (canvas != '') { |
629 stone.SetDefaultWindowing(canvas); | 629 stone.SetPresetWindowing(canvas); |
630 } | 630 } |
631 }, | 631 }, |
632 | 632 |
633 InvertContrast: function() { | 633 InvertContrast: function() { |
634 var canvas = this.GetActiveCanvas(); | 634 var canvas = this.GetActiveCanvas(); |