Various interface fixes, closes #5211

This commit is contained in:
Morgan Hardwood
2019-03-25 01:53:07 +01:00
parent eb646e18e6
commit 5b50b2d059
17 changed files with 64 additions and 60 deletions

View File

@@ -1523,7 +1523,7 @@ int RawImageSource::load (const Glib::ustring &fname, bool firstFrameOnly)
fileName = fname;
if (plistener) {
plistener->setProgressStr ("Decoding...");
plistener->setProgressStr ("PROGRESSBAR_DECODING");
plistener->setProgress (0.0);
}
ri = new RawImage(fname);
@@ -1910,7 +1910,7 @@ void RawImageSource::preprocess (const RAWParams &raw, const LensProfParams &le
if ( ri->getSensorType() == ST_BAYER && (raw.hotPixelFilter > 0 || raw.deadPixelFilter > 0)) {
if (plistener) {
plistener->setProgressStr ("Hot/Dead Pixel Filter...");
plistener->setProgressStr ("PROGRESSBAR_HOTDEADPIXELFILTER");
plistener->setProgress (0.0);
}
@@ -1977,7 +1977,7 @@ void RawImageSource::preprocess (const RAWParams &raw, const LensProfParams &le
if ( ri->getSensorType() == ST_BAYER && raw.bayersensor.greenthresh > 0) {
if (plistener) {
plistener->setProgressStr ("Green equilibrate...");
plistener->setProgressStr ("PROGRESSBAR_GREENEQUIL");
plistener->setProgress (0.0);
}
@@ -2011,7 +2011,7 @@ void RawImageSource::preprocess (const RAWParams &raw, const LensProfParams &le
if ( ri->getSensorType() == ST_BAYER && raw.bayersensor.linenoise > 0 ) {
if (plistener) {
plistener->setProgressStr ("Line Denoise...");
plistener->setProgressStr ("PROGRESSBAR_LINEDENOISE");
plistener->setProgress (0.0);
}
@@ -2028,7 +2028,7 @@ void RawImageSource::preprocess (const RAWParams &raw, const LensProfParams &le
if ( (raw.ca_autocorrect || fabs(raw.cared) > 0.001 || fabs(raw.cablue) > 0.001) && ri->getSensorType() == ST_BAYER ) { // Auto CA correction disabled for X-Trans, for now...
if (plistener) {
plistener->setProgressStr ("CA Auto Correction...");
plistener->setProgressStr ("PROGRESSBAR_RAWCACORR");
plistener->setProgress (0.0);
}
if(numFrames == 4) {