"Fossies" - the Fresh Open Source Software Archive  

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

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

chmixer.cc  (rawtherapee-5.6.tar.xz):chmixer.cc  (rawtherapee-5.7.tar.xz)
skipping to change at line 17 skipping to change at line 17
* 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 "chmixer.h" #include "chmixer.h"
#include "rtimage.h" #include "rtimage.h"
#include "../rtengine/procparams.h" #include "../rtengine/procparams.h"
using namespace rtengine; using namespace rtengine;
using namespace rtengine::procparams; using namespace rtengine::procparams;
skipping to change at line 184 skipping to change at line 184
if (listener && getEnabled()) { if (listener && getEnabled()) {
Glib::ustring descr = Glib::ustring::compose ("R=%1,%2,%3\nG=%4,%5,%6\nB =%7,%8,%9", Glib::ustring descr = Glib::ustring::compose ("R=%1,%2,%3\nG=%4,%5,%6\nB =%7,%8,%9",
red[0]->getValue(), red[1]->getValue(), red[2]->ge tValue(), red[0]->getValue(), red[1]->getValue(), red[2]->ge tValue(),
green[0]->getValue(), green[1]->getValue(), green[ 2]->getValue(), green[0]->getValue(), green[1]->getValue(), green[ 2]->getValue(),
blue[0]->getValue(), blue[1]->getValue(), blue[2]- >getValue()); blue[0]->getValue(), blue[1]->getValue(), blue[2]- >getValue());
listener->panelChanged (EvChMixer, descr); listener->panelChanged (EvChMixer, descr);
} }
} }
void ChMixer::adjusterAutoToggled(Adjuster* a, bool newval)
{
}
void ChMixer::enabledChanged() void ChMixer::enabledChanged()
{ {
if (listener) { if (listener) {
if (get_inconsistent()) { if (get_inconsistent()) {
listener->panelChanged(EvChMixer, M("GENERAL_UNCHANGED")); listener->panelChanged(EvChMixer, M("GENERAL_UNCHANGED"));
} else if (getEnabled()) { } else if (getEnabled()) {
listener->panelChanged(EvChMixer, M("GENERAL_ENABLED")); listener->panelChanged(EvChMixer, M("GENERAL_ENABLED"));
} else { } else {
listener->panelChanged(EvChMixer, M("GENERAL_DISABLED")); listener->panelChanged(EvChMixer, 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)