"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "rtengine/rtlensfun.cc" between
rawtherapee-5.6.tar.xz and rawtherapee-5.7.tar.xz

About: RawTherapee is a powerful cross-platform raw image processing program.

rtlensfun.cc  (rawtherapee-5.6.tar.xz):rtlensfun.cc  (rawtherapee-5.7.tar.xz)
skipping to change at line 18 skipping to change at line 18
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* RawTherapee is distributed in the hope that it will be useful, * RawTherapee is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with RawTherapee. If not, see <http://www.gnu.org/licenses/>. * along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/ */
#include "rtlensfun.h" #include "rtlensfun.h"
#include "procparams.h" #include "procparams.h"
#include "settings.h" #include "settings.h"
#include <iostream> #include <iostream>
namespace rtengine { namespace rtengine {
extern const Settings *settings; extern const Settings *settings;
skipping to change at line 129 skipping to change at line 129
MyMutex::MyLock lock(lfModifierMutex); MyMutex::MyLock lock(lfModifierMutex);
data_->ApplyColorModification(line, 0, y, width, 1, LF_CR_3(RED, GREEN, BLUE ), 0); data_->ApplyColorModification(line, 0, y, width, 1, LF_CR_3(RED, GREEN, BLUE ), 0);
} }
Glib::ustring LFModifier::getDisplayString() const Glib::ustring LFModifier::getDisplayString() const
{ {
if (!data_) { if (!data_) {
return "NONE"; return "NONE";
} else { } else {
Glib::ustring ret; Glib::ustring ret;
Glib::ustring sep = ""; Glib::ustring sep;
if (flags_ & LF_MODIFY_DISTORTION) { if (flags_ & LF_MODIFY_DISTORTION) {
ret += "distortion"; ret += "distortion";
sep = ", "; sep = ", ";
} }
if (flags_ & LF_MODIFY_VIGNETTING) { if (flags_ & LF_MODIFY_VIGNETTING) {
ret += sep; ret += sep;
ret += "vignetting"; ret += "vignetting";
sep = ", "; sep = ", ";
} }
if (flags_ & LF_MODIFY_TCA) { if (flags_ & LF_MODIFY_TCA) {
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)