Locallab cleanup #1

Cleanup of Locallab and ControlSpotPanel
Removed also useless LocalListener, useless Locallab options

The following improvments have been introduced:
- All Locallab events are now managed with regular RT logics

The following bugs have been corrected:
- Missing "sensiexclu", "struc" (hidden) and "noisechrodetail" (hidden)
adjusters have been reintroduced
- GUI problems reported by @ganned92 have been corrected
- Tone curve could have some weird behavior when mouse was moving a
curve point outside curve editor
This commit is contained in:
Pandagrapher
2018-09-15 18:11:42 +02:00
parent 757cf784f2
commit f945466df5
21 changed files with 1358 additions and 3048 deletions

View File

@@ -908,6 +908,8 @@ struct LocallabParams {
std::vector<int> isvisible;
std::vector<Glib::ustring> shape; // ELI, RECT
std::vector<Glib::ustring> spotMethod; // norm, exc
std::vector<int> sensiexclu;
std::vector<int> struc;
std::vector<Glib::ustring> shapeMethod; // IND, SYM, INDSL, SYMSL
std::vector<int> locX;
std::vector<int> locXL;
@@ -1000,26 +1002,17 @@ struct LocallabParams {
std::vector<int> noiselequal;
std::vector<int> noisechrof;
std::vector<int> noisechroc;
std::vector<int> noisechrodetail;
std::vector<int> adjblur;
std::vector<int> bilateral;
std::vector<int> sensiden;
// Others
std::vector<int> avoid;
LocallabParams();
bool operator ==(const LocallabParams& other) const;
bool operator !=(const LocallabParams& other) const;
/*
void getCurves(
LocretigainCurve &cTgainCurve,
LocretigainCurverab &cTgainCurverab,
LocLHCurve & lhCurve,
LocHHCurve & hhCurve,
bool &LHutili,
bool &HHutili
) const;
*/
};