Move events from procevents refreshmap tp mapevent in locallab.cc - - first step

This commit is contained in:
Desmis
2018-01-27 15:45:07 +01:00
parent 4a29e34e20
commit ad6618fdfc
4 changed files with 223 additions and 216 deletions

View File

@@ -521,114 +521,6 @@ enum ProcEventCode {
EvRGBEnabled = 491,
EvLEnabled = 492,
EvPixelShiftOneGreen = 493,
EvlocallablocX = 494,
EvlocallabCenter = 495,
EvlocallabDegree = 496,
Evlocallablightness = 497,
Evlocallabcontrast = 498,
Evlocallabchroma = 499,
Evlocallabtransit = 500,
Evlocallabavoid = 501,
EvlocallablocYT = 502,
EvlocallablocXL = 503,
EvlocallabSmet = 504,
Evlocallabinvers = 505,
Evlocallabradius = 506,
Evlocallabinversrad = 507,
Evlocallabstrength = 508,
Evlocallabsensi = 509,
EvlocallabretinexMethod = 510,
Evlocallabstr = 511,
Evlocallabneigh = 512,
Evlocallabvart = 513,
EvlocallabCTgainCurve = 514,
Evlocallabchrrt = 515,
Evlocallabinversret = 516,
Evlocallabsensih = 517,
Evlocallabnbspot = 518,
Evlocallabactivlum = 519,
Evlocallabanbspot = 520,
Evlocallabsharradius = 521,
Evlocallabsharamount = 522,
Evlocallabshardamping = 523,
Evlocallabshariter = 524,
Evlocallabsensis = 525,
Evlocallabinverssha = 526,
Evlocallabcircrad = 527,
Evlocallabthres = 528,
Evlocallabproxi = 529,
EvlocallabqualityMethod = 530,
Evlocallabnoiselumf = 531,
Evlocallabnoiselumc = 532,
Evlocallabnoisechrof = 533,
Evlocallabnoisechroc = 534,
EvlocallabThresho = 535,
EvlocallabEqualizer = 536,
Evlocallabsensicb = 537,
Evlocallabsensibn = 538,
Evlocallabstren = 539,
Evlocallabgamma = 540,
Evlocallabestop = 541,
Evlocallabscaltm = 542,
Evlocallabrewei = 543,
Evlocallabsensitm = 544,
EvlocallabCTgainCurverab = 545,
Evlocallabretrab = 546,
Evlocallabllshape = 547,
EvLocenacolor = 548,
EvLocenablur = 549,
EvLocenatonemap = 550,
EvLocenareti = 551,
EvLocenasharp = 552,
EvLocenacbdl = 553,
EvLocenadenoi = 554,
EvlocallabLHshape = 555,
Evlocallabcurvactiv = 556,
Evlocallabccshape = 557,
EvlocallabqualitycurveMethod = 558,
Evlocallabhueref = 559,
Evlocallabchromaref = 560,
Evlocallablumaref = 561,
EvlocallabHHshape = 562,
EvLocenavibrance = 563,
EvlocallabSkinTonesCurve = 564,
EvlocallabProtectSkins = 565,
EvlocallabAvoidColorShift = 566,
EvlocallabPastSatTog = 567,
EvlocallabPastels = 568,
EvlocallabSaturated = 569,
EvlocallabPastSatThreshold = 570,
Evlocallabsensiv = 571,
EvLocenaexpose = 572,
Evlocallabexpcomp = 573,
Evlocallabhlcompr = 574,
Evlocallabhlcomprthresh = 575,
Evlocallabblack = 576,
Evlocallabshcompr = 577,
Evlocallabsensiex = 578,
Evlocallabshape = 579,
EvlocallabCenterbuf = 580,
Evlocallabadjblur = 581,
Evlocallabcutpast = 582,
Evlocallabchromacbdl = 583,
EvlocallabblurMethod = 584,
EvlocallabdustMethod = 585,
Evlocallablastdust = 586,
Evlocallabsobelref = 587,
Evlocallabexclumethod = 588,
Evlocallabsensiexclu = 589,
Evlocallabstruc = 590,
Evlocallabwarm = 591,
Evlocallabnoiselumdetail = 592,
Evlocallabnoisechrodetail = 593,
Evlocallabsensiden = 594,
Evlocallabhuerefblur = 595,
EvlocallabEnabled = 596,
EvlocallablocY = 597,
Evlocallabbilateral = 598,
Evlocallabnoiselequal = 599,
Evlocallabshapemethod = 600,
NUMOFEVENTS

View File

@@ -520,114 +520,7 @@ int refreshmap[rtengine::NUMOFEVENTS] = {
ALLNORAW, // EvWBEnabled
RGBCURVE, // EvRGBEnabled
LUMINANCECURVE, // EvLEnabled
DEMOSAIC, // EvPixelShiftOneGreen
LUMINANCECURVE, // EvlocallablocX
LUMINANCECURVE, // EvlocallabCenter
LUMINANCECURVE, // EvlocallabDegree
LUMINANCECURVE, // Evlocallablightness
LUMINANCECURVE, // Evlocallabcontrast
LUMINANCECURVE, // Evlocallabchroma
LUMINANCECURVE, // Evlocallabtransit
LUMINANCECURVE, // Evlocallabavoid
LUMINANCECURVE, // EvlocallablocYT
LUMINANCECURVE, // EvlocallablocXL
LUMINANCECURVE, // EvlocallabSmet
LUMINANCECURVE, // Evlocallabinvers
LUMINANCECURVE, // Evlocallabradius
LUMINANCECURVE, // Evlocallabinversrad
LUMINANCECURVE, // Evlocallabstrength
LUMINANCECURVE, // Evlocallabsensi
LUMINANCECURVE, // EvlocallabretinexMethod
LUMINANCECURVE, // Evlocallabstr
LUMINANCECURVE, // Evlocallabneigh
LUMINANCECURVE, // Evlocallabvart
LUMINANCECURVE, // EvlocallabCTgainCurve
LUMINANCECURVE, // Evlocallabchrrt
LUMINANCECURVE, // Evlocallabinversret
LUMINANCECURVE, // Evlocallabsensih
LUMINANCECURVE, // Evlocallabnbspot
LUMINANCECURVE, // Evlocallabactivlum
LUMINANCECURVE, // Evlocallabanbspot
LUMINANCECURVE, // Evlocallabsharradius
LUMINANCECURVE, // Evlocallabsharamount
LUMINANCECURVE, // Evlocallabshardamping
LUMINANCECURVE, // Evlocallabshariter
LUMINANCECURVE, // Evlocallabsensis
LUMINANCECURVE, // Evlocallabinverssha
LUMINANCECURVE, // Evlocallabcircrad
LUMINANCECURVE, // Evlocallabthres
LUMINANCECURVE, // Evlocallabproxi
LUMINANCECURVE, // EvlocallabqualityMethod
LUMINANCECURVE, // Evlocallabnoiselumf
LUMINANCECURVE, // Evlocallabnoiselumc
LUMINANCECURVE, // Evlocallabnoisechrof
LUMINANCECURVE, // Evlocallabnoisechroc
LUMINANCECURVE, // EvlocallabThresho
LUMINANCECURVE, // EvlocallabEqualizer
LUMINANCECURVE, // Evlocallabsensicb
LUMINANCECURVE, // Evlocallabsensibn
LUMINANCECURVE, // Evlocallabstren
LUMINANCECURVE, // Evlocallabgamma
LUMINANCECURVE, // Evlocallabestop
LUMINANCECURVE, // Evlocallabscaltm
LUMINANCECURVE, // Evlocallabrewei
LUMINANCECURVE, // Evlocallabsensitm
LUMINANCECURVE, // EvlocallabCTgainCurverab
LUMINANCECURVE, // Evlocallabretrab
LUMINANCECURVE, // Evlocallabllshape
LUMINANCECURVE, // Evlocenacolor
LUMINANCECURVE, // Evlocenablur
LUMINANCECURVE, // Evlocenatonemap
LUMINANCECURVE, // Evlocenareti
LUMINANCECURVE, // Evlocenasharp
LUMINANCECURVE, // Evlocenacbdl
LUMINANCECURVE, // Evlocenadenoi
LUMINANCECURVE, // EvlocallabLHshape
LUMINANCECURVE, // Evlocallabcurvactiv
LUMINANCECURVE, // Evlocallabccshape
LUMINANCECURVE, // EvlocallabqualitycurveMethod
LUMINANCECURVE, // Evlocallabhueref
LUMINANCECURVE, // Evlocallabchromaref
LUMINANCECURVE, // Evlocallablumaref
LUMINANCECURVE, // EvlocallabHHshape
LUMINANCECURVE, // Evlocenavibrance
LUMINANCECURVE, //EvlocallabSkinTonesCurve
LUMINANCECURVE, //EvlocallabProtectSkins
LUMINANCECURVE, //EvlocallabAvoidColorShift
LUMINANCECURVE, //EvlocallabPastSatTog
LUMINANCECURVE, //EvlocallabPastels
LUMINANCECURVE, //EvlocallabSaturated
LUMINANCECURVE, // EvlocallabPastSatThreshold
LUMINANCECURVE, //Evlocallabsensiv
LUMINANCECURVE, //EvLocenaexpose
LUMINANCECURVE, //Evlocallabexpcomp
LUMINANCECURVE, //Evlocallabhlcompr
LUMINANCECURVE, //Evlocallabhlcomprthresh
LUMINANCECURVE, //Evlocallabblack
LUMINANCECURVE, //Evlocallabshcompr
LUMINANCECURVE, //Evlocallabsensiex
LUMINANCECURVE, //Evlocallabshape
LUMINANCECURVE, //Evlocallabcenterbuf
LUMINANCECURVE, //Evlocallabadjblur
LUMINANCECURVE, //Evlocallabcutpast
LUMINANCECURVE, //Evlocallabchromacbdl
LUMINANCECURVE, //EvlocallabblurMethod
LUMINANCECURVE, //EvlocallabdustMethod
LUMINANCECURVE, //Evlocallablastdust
LUMINANCECURVE, // Evlocallabsobelref
LUMINANCECURVE, // Evlocallabexclumethod
LUMINANCECURVE, // Evlocallabsensiexclu
LUMINANCECURVE, // Evlocallabstruc
LUMINANCECURVE, // Evlocallabwarm
LUMINANCECURVE, // Evlocallabnoiselumdetail
LUMINANCECURVE, // Evlocallabnoisechrodetail
LUMINANCECURVE, // Evlocallabsensiden
LUMINANCECURVE, // Evlocallabhuerefblur
LUMINANCECURVE, // EvlocallabEnabled
LUMINANCECURVE, // EvlocallablocY
LUMINANCECURVE, // Evlocallabbilateral
LUMINANCECURVE, // Evlocallabnoiselequal
LUMINANCECURVE // Evlocallabshapemethod
DEMOSAIC // EvPixelShiftOneGreen
};

View File

@@ -31,6 +31,7 @@
#include <string>
#include <unistd.h>
#include "../rtengine/improcfun.h"
#include "eventmapper.h"
#define MINCHRO 0.
#define MAXCHRO 150
@@ -337,6 +338,117 @@ Locallab::Locallab():
{
CurveListener::setMulti(true);
ProcParams params;
auto m = ProcEventMapper::getInstance();
EvLocenacolor = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCENACOLOR");//548
EvLocenaexpose = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCENAEXPOSE");//572
EvLocenavibrance = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCENAVIBR");//563
EvLocenablur = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCENABLUR");//549
EvLocenatonemap = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCENATM");//550
EvLocenareti = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCENARETI");//551
EvLocenasharp = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCENASHARP");//552
EvLocenacbdl = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCENACBDL");//553
EvLocenadenoi = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCENADENOI");//554
EvlocallablocX = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCLOCX"); //= 494,
EvlocallabCenter = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCCENTER"); //= 495,
EvlocallabDegree = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCDEGRE"); //= 496,
Evlocallablightness = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCLIGHT"); //= 497,
Evlocallabcontrast = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCCONTRA"); //= 498,
Evlocallabchroma = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCCHROMA"); //= 499,
Evlocallabtransit = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCTRANSIT"); //= 500,
Evlocallabavoid = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCAVOID"); //= 501,
EvlocallablocYT = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCLOCYT"); // = 502,
EvlocallablocXL = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCXL"); //= 503,
EvlocallabSmet = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSMET"); //= 504,
Evlocallabinvers = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCINVERS"); //= 505,
Evlocallabradius = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCRADIUS"); //= 506,
Evlocallabinversrad = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCINVRAD"); //= 507,
Evlocallabstrength = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSTRENGTH"); //= 508,
Evlocallabsensi = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSENSI"); //= 509,
EvlocallabretinexMethod = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCRETIMETH");//510
Evlocallabstr = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCRETISTR");//= 511,
Evlocallabneigh = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCRETINEIGH");//= 512,
Evlocallabvart = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCRETIVART");//= 513,
EvlocallabCTgainCurve = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCRETIGAINCURV");//= 514,
Evlocallabchrrt = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCCHRRT");//= 515,
Evlocallabinversret = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCINVRET");//= 516,
Evlocallabsensih = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSENSIH");//= 517,
Evlocallabnbspot = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCNBSPOT");//= 518,
Evlocallabactivlum = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCACTIVLUM");//= 519,
Evlocallabanbspot = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCANBSPOT");//= 520,
Evlocallabsharradius = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSHARADIUS");//= 521,
Evlocallabsharamount = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSHAAMOUNT");//= 522,
Evlocallabshardamping = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSHADAMPING");//= 523,
Evlocallabshariter = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSHAITER");//= 524,
Evlocallabsensis = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSENSIS");//= 525,
Evlocallabinverssha = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCINVSHA");//= 526,
Evlocallabcircrad = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCCIRCRAD");//= 527,
Evlocallabthres = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCTHRES");//= 528,
Evlocallabproxi = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCPROXI");//= 529,
EvlocallabqualityMethod = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCQUALMETH");//= 530,
Evlocallabnoiselumf = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCNOISLUMF");//= 531,
Evlocallabnoiselumc = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCNOISLUMC");//= 532,
Evlocallabnoisechrof = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCNOISCHROF");//= 533,
Evlocallabnoisechroc = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCNOISCHROC");//= 534,
EvlocallabThresho = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCCBDLTHRESHO");//= 535,
EvlocallabEqualizer = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCCBDLEQUALIZ");//= 536,
Evlocallabsensicb = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSENSICB");//= 537,
Evlocallabsensibn = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSENSIBN");//= 538,
Evlocallabstren = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSTREN");//= 539,
Evlocallabgamma = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCGAMM");//= 540,
Evlocallabestop = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCESTOP");//= 541,
Evlocallabscaltm = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSCALTM");//= 542,
Evlocallabrewei = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCREWEI");//= 543,
Evlocallabsensitm = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSENSITM");//= 544,
EvlocallabCTgainCurverab = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCGAINCURRAB");//= 545,
Evlocallabretrab = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCRETRAB");//= 546,
Evlocallabllshape = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCLSHAPE");//= 547,
EvlocallabLHshape = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCLHSHAPE");// = 555,
Evlocallabcurvactiv = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCCURVACTIV");// = 556,
Evlocallabccshape = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCCCSHAPE");// = 557,
EvlocallabqualitycurveMethod = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCQUALCURVMETH");// = 558,
Evlocallabhueref = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCHUEREF");// = 559,
Evlocallabchromaref = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCCHROMAREF");// = 560,
Evlocallablumaref = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCLUMAREF");// = 561,
EvlocallabHHshape = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCHHSHAPE");// = 562,
EvlocallabSkinTonesCurve = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSKINTONCURV");// = 564,
EvlocallabProtectSkins = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCPROTSKIN");// = 565,
EvlocallabAvoidColorShift = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCAVOIDCOLORSHIFT");// = 566,
EvlocallabPastSatTog = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCPASTSATTOG");// = 567,
EvlocallabPastels = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCPASTEL");// = 568,
EvlocallabSaturated = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSATUR");// = 569,
EvlocallabPastSatThreshold = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCPASTSATTHRES");// = 570,
Evlocallabsensiv = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSENSIV");// = 571,
Evlocallabexpcomp = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCEXPCOMP");// = 573,
Evlocallabhlcompr = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCHLCOMPR");// = 574,
Evlocallabhlcomprthresh = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCHLCOMPRTHRESH");// = 575,
Evlocallabblack = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCBLACK");// = 576,
Evlocallabshcompr = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSHCOMPR");// = 577,
Evlocallabsensiex = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSENSIEX");// = 578,
Evlocallabshape = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSHAPE");// = 579,
EvlocallabCenterbuf = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCCENTERBUF");// = 580,
Evlocallabadjblur = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCNOISEEQUALBLURED");// = 581,
Evlocallabcutpast = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCCUTPAST");// = 582,
Evlocallabchromacbdl = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCCHROCBDL");// = 583,
EvlocallabblurMethod = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCBLURMETH"); //584
EvlocallabdustMethod = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCDUSTMETH");// = 585,
Evlocallablastdust = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCLASTDUST");// = 586,
Evlocallabsobelref = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSOBELREF");// = 587,
Evlocallabexclumethod = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCEXCLUMETH");// = 588,
Evlocallabsensiexclu = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSENSIEXCL");// = 589,
Evlocallabstruc = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSTRUC");// = 590,
Evlocallabwarm = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCWARM");// = 591,
Evlocallabnoiselumdetail = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCNOISELUMDETAIL");// = 592,
Evlocallabnoisechrodetail = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCNOISECHRODETAIL");// = 593,
Evlocallabsensiden = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSENSIDEN");// = 594,
Evlocallabhuerefblur = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCHUEREFBLUR");// = 595,
EvlocallabEnabled = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCENABLED");// = 596,
EvlocallablocY = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCLOCY");// = 597,
Evlocallabbilateral = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCBILATERAL");// = 598,
Evlocallabnoiselequal = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCNOISELEQUAL");// = 599,
Evlocallabshapemethod = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_LOCSHAPEMETH");// = 600,
editHBox = Gtk::manage(new Gtk::HBox());
edit = Gtk::manage(new Gtk::ToggleButton());
edit->add(*Gtk::manage(new RTImage("editmodehand.png")));

View File

@@ -31,6 +31,116 @@ class Locallab :
{
private:
rtengine::ProcEvent EvLocenacolor;//548
rtengine::ProcEvent EvLocenaexpose;//572
rtengine::ProcEvent EvLocenavibrance;//563
rtengine::ProcEvent EvLocenablur;//549
rtengine::ProcEvent EvLocenatonemap;//550
rtengine::ProcEvent EvLocenareti;//551
rtengine::ProcEvent EvLocenasharp;//552
rtengine::ProcEvent EvLocenacbdl;//553
rtengine::ProcEvent EvLocenadenoi;//554
rtengine::ProcEvent EvlocallablocX ;//= 494,
rtengine::ProcEvent EvlocallabCenter;// = 495,
rtengine::ProcEvent EvlocallabDegree;// = 496,
rtengine::ProcEvent Evlocallablightness;// = 497,
rtengine::ProcEvent Evlocallabcontrast;// = 498,
rtengine::ProcEvent Evlocallabchroma;// = 499,
rtengine::ProcEvent Evlocallabtransit;// = 500,
rtengine::ProcEvent Evlocallabavoid;// = 501,
rtengine::ProcEvent EvlocallablocYT;// = 502,
rtengine::ProcEvent EvlocallablocXL;// = 503,
rtengine::ProcEvent EvlocallabSmet;// = 504,
rtengine::ProcEvent Evlocallabinvers;// = 505,
rtengine::ProcEvent Evlocallabradius;// = 506,
rtengine::ProcEvent Evlocallabinversrad;// = 507,
rtengine::ProcEvent Evlocallabstrength;// = 508,
rtengine::ProcEvent Evlocallabsensi;// = 509,
rtengine::ProcEvent EvlocallabretinexMethod;//510
rtengine::ProcEvent Evlocallabstr;// = 511,
rtengine::ProcEvent Evlocallabneigh;// = 512,
rtengine::ProcEvent Evlocallabvart;// = 513,
rtengine::ProcEvent EvlocallabCTgainCurve;// = 514,
rtengine::ProcEvent Evlocallabchrrt;// = 515,
rtengine::ProcEvent Evlocallabinversret;// = 516,
rtengine::ProcEvent Evlocallabsensih;// = 517,
rtengine::ProcEvent Evlocallabnbspot;// = 518,
rtengine::ProcEvent Evlocallabactivlum;// = 519,
rtengine::ProcEvent Evlocallabanbspot;// = 520,
rtengine::ProcEvent Evlocallabsharradius;// = 521,
rtengine::ProcEvent Evlocallabsharamount;// = 522,
rtengine::ProcEvent Evlocallabshardamping;// = 523,
rtengine::ProcEvent Evlocallabshariter;// = 524,
rtengine::ProcEvent Evlocallabsensis;// = 525,
rtengine::ProcEvent Evlocallabinverssha;// = 526,
rtengine::ProcEvent Evlocallabcircrad;// = 527,
rtengine::ProcEvent Evlocallabthres;// = 528,
rtengine::ProcEvent Evlocallabproxi;// = 529,
rtengine::ProcEvent EvlocallabqualityMethod;// = 530,
rtengine::ProcEvent Evlocallabnoiselumf;// = 531,
rtengine::ProcEvent Evlocallabnoiselumc;// = 532,
rtengine::ProcEvent Evlocallabnoisechrof;// = 533,
rtengine::ProcEvent Evlocallabnoisechroc;// = 534,
rtengine::ProcEvent EvlocallabThresho;// = 535,
rtengine::ProcEvent EvlocallabEqualizer;// = 536,
rtengine::ProcEvent Evlocallabsensicb;// = 537,
rtengine::ProcEvent Evlocallabsensibn;// = 538,
rtengine::ProcEvent Evlocallabstren;// = 539,
rtengine::ProcEvent Evlocallabgamma;// = 540,
rtengine::ProcEvent Evlocallabestop;// = 541,
rtengine::ProcEvent Evlocallabscaltm;// = 542,
rtengine::ProcEvent Evlocallabrewei;// = 543,
rtengine::ProcEvent Evlocallabsensitm;// = 544,
rtengine::ProcEvent EvlocallabCTgainCurverab;// = 545,
rtengine::ProcEvent Evlocallabretrab;// = 546,
rtengine::ProcEvent Evlocallabllshape;// = 547,
rtengine::ProcEvent EvlocallabLHshape;// = 555,
rtengine::ProcEvent Evlocallabcurvactiv;// = 556,
rtengine::ProcEvent Evlocallabccshape;// = 557,
rtengine::ProcEvent EvlocallabqualitycurveMethod;// = 558,
rtengine::ProcEvent Evlocallabhueref;// = 559,
rtengine::ProcEvent Evlocallabchromaref;// = 560,
rtengine::ProcEvent Evlocallablumaref;// = 561,
rtengine::ProcEvent EvlocallabHHshape;// = 562,
rtengine::ProcEvent EvlocallabSkinTonesCurve;// = 564,
rtengine::ProcEvent EvlocallabProtectSkins;// = 565,
rtengine::ProcEvent EvlocallabAvoidColorShift;// = 566,
rtengine::ProcEvent EvlocallabPastSatTog;// = 567,
rtengine::ProcEvent EvlocallabPastels;// = 568,
rtengine::ProcEvent EvlocallabSaturated;// = 569,
rtengine::ProcEvent EvlocallabPastSatThreshold;// = 570,
rtengine::ProcEvent Evlocallabsensiv;// = 571,
rtengine::ProcEvent Evlocallabexpcomp;// = 573,
rtengine::ProcEvent Evlocallabhlcompr;// = 574,
rtengine::ProcEvent Evlocallabhlcomprthresh;// = 575,
rtengine::ProcEvent Evlocallabblack;// = 576,
rtengine::ProcEvent Evlocallabshcompr;// = 577,
rtengine::ProcEvent Evlocallabsensiex;// = 578,
rtengine::ProcEvent Evlocallabshape;// = 579,
rtengine::ProcEvent EvlocallabCenterbuf;// = 580,
rtengine::ProcEvent Evlocallabadjblur;// = 581,
rtengine::ProcEvent Evlocallabcutpast;// = 582,
rtengine::ProcEvent Evlocallabchromacbdl;// = 583,
rtengine::ProcEvent EvlocallabblurMethod;//584
rtengine::ProcEvent EvlocallabdustMethod;// = 585,
rtengine::ProcEvent Evlocallablastdust;// = 586,
rtengine::ProcEvent Evlocallabsobelref;// = 587,
rtengine::ProcEvent Evlocallabexclumethod;// = 588,
rtengine::ProcEvent Evlocallabsensiexclu;// = 589,
rtengine::ProcEvent Evlocallabstruc;// = 590,
rtengine::ProcEvent Evlocallabwarm;// = 591,
rtengine::ProcEvent Evlocallabnoiselumdetail;// = 592,
rtengine::ProcEvent Evlocallabnoisechrodetail;// = 593,
rtengine::ProcEvent Evlocallabsensiden;// = 594,
rtengine::ProcEvent Evlocallabhuerefblur;// = 595,
rtengine::ProcEvent EvlocallabEnabled;// = 596,
rtengine::ProcEvent EvlocallablocY;// = 597,
rtengine::ProcEvent Evlocallabbilateral;// = 598,
rtengine::ProcEvent Evlocallabnoiselequal;// = 599,
rtengine::ProcEvent Evlocallabshapemethod;// = 600,
int lastObject;
void foldAllButMe(GdkEventButton* event, MyExpander *expander);
void enableToggled(MyExpander *expander);