"Fossies" - the Fresh Open Source Software Archive

Member "rawtherapee-5.7/rtgui/rawcacorrection.h" (10 Sep 2019, 2070 Bytes) of package /linux/misc/rawtherapee-5.7.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "rawcacorrection.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 5.6_vs_5.7.

    1 /*
    2  *  This file is part of RawTherapee.
    3  *
    4  *  Copyright (c) 2004-2010 Gabor Horvath <hgabor@rawtherapee.com>
    5  *
    6  *  RawTherapee is free software: you can redistribute it and/or modify
    7  *  it under the terms of the GNU General Public License as published by
    8  *  the Free Software Foundation, either version 3 of the License, or
    9  *  (at your option) any later version.
   10  *
   11  *  RawTherapee is distributed in the hope that it will be useful,
   12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
   13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14  *  GNU General Public License for more details.
   15  *
   16  *  You should have received a copy of the GNU General Public License
   17  *  along with RawTherapee.  If not, see <https://www.gnu.org/licenses/>.
   18  */
   19 #ifndef _RAWCACORRECTION_H_
   20 #define _RAWCACORRECTION_H_
   21 
   22 #include <gtkmm.h>
   23 #include "adjuster.h"
   24 #include "checkbox.h"
   25 #include "toolpanel.h"
   26 
   27 class RAWCACorr : public ToolParamBlock, public AdjusterListener, public CheckBoxListener, public FoldableToolPanel
   28 {
   29 
   30 protected:
   31     CheckBox* caAutocorrect;
   32     Adjuster* caAutoiterations;
   33     Adjuster* caRed;
   34     Adjuster* caBlue;
   35     CheckBox* caAvoidcolourshift;
   36 
   37     rtengine::ProcEvent EvPreProcessCAAutoiterations;
   38     rtengine::ProcEvent EvPreProcessCAColourshift;
   39     rtengine::ProcEvent EvPreProcessCAColourshiftHistory;
   40 
   41 public:
   42 
   43     RAWCACorr ();
   44 
   45     void read                (const rtengine::procparams::ProcParams* pp, const ParamsEdited* pedited = nullptr) override;
   46     void write               (rtengine::procparams::ProcParams* pp, ParamsEdited* pedited = nullptr) override;
   47     void setBatchMode        (bool batchMode) override;
   48     void setDefaults         (const rtengine::procparams::ProcParams* defParams, const ParamsEdited* pedited = nullptr) override;
   49     void setAdjusterBehavior (bool caadd);
   50     void trimValues          (rtengine::procparams::ProcParams* pp) override;
   51 
   52     void adjusterChanged     (Adjuster* a, double newval) override;
   53     void checkBoxToggled     (CheckBox* c, CheckValue newval) override;
   54 };
   55 
   56 #endif