"Fossies" - the Fresh Open Source Software Archive  

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

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

softlight.cc  (rawtherapee-5.6.tar.xz):softlight.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 <cmath> #include <cmath>
#include <iomanip> #include <iomanip>
#include "softlight.h" #include "softlight.h"
#include "eventmapper.h" #include "eventmapper.h"
#include "../rtengine/procparams.h" #include "../rtengine/procparams.h"
skipping to change at line 89 skipping to change at line 89
} }
} }
void SoftLight::adjusterChanged(Adjuster* a, double newval) void SoftLight::adjusterChanged(Adjuster* a, double newval)
{ {
if (listener && getEnabled()) { if (listener && getEnabled()) {
listener->panelChanged(EvSoftLightStrength, a->getTextValue()); listener->panelChanged(EvSoftLightStrength, a->getTextValue());
} }
} }
void SoftLight::adjusterAutoToggled(Adjuster* a, bool newval)
{
}
void SoftLight::enabledChanged () void SoftLight::enabledChanged ()
{ {
if (listener) { if (listener) {
if (get_inconsistent()) { if (get_inconsistent()) {
listener->panelChanged(EvSoftLightEnabled, M("GENERAL_UNCHANGED")); listener->panelChanged(EvSoftLightEnabled, M("GENERAL_UNCHANGED"));
} else if (getEnabled()) { } else if (getEnabled()) {
listener->panelChanged(EvSoftLightEnabled, M("GENERAL_ENABLED")); listener->panelChanged(EvSoftLightEnabled, M("GENERAL_ENABLED"));
} else { } else {
listener->panelChanged(EvSoftLightEnabled, M("GENERAL_DISABLED")); listener->panelChanged(EvSoftLightEnabled, M("GENERAL_DISABLED"));
} }
 End of changes. 2 change blocks. 
5 lines changed or deleted 1 lines changed or added

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