Improve mask preview and avoid reprocessing when switching spot

Changes:
- Mask preview has been improved. It only applies on detailed image now
("dcrop" pipeline) which corrects unexpected behavior on navigator
image. Mask preview now only applies on selected spot: when switching
between spots, mask preview is deactivated on newly selected spot.
- Image reprocessing is now avoided when switching between spots (except
if mask preview was previously activated). Mask background update
remains functionnal.

Bugfixe:
- AStyle runned on several modified files
This commit is contained in:
Pandagrapher
2019-08-21 13:40:28 +02:00
parent 53eeffbebf
commit 2080f65197
13 changed files with 273 additions and 147 deletions

View File

@@ -370,8 +370,14 @@ public:
class LocallabListener
{
public:
struct locallabRef {
double huer;
double lumar;
double chromar;
};
virtual ~LocallabListener() = default;
virtual void refChanged (double huer, double lumar, double chromar) = 0;
virtual void refChanged(const std::vector<locallabRef> &ref, int selspot) = 0;
};
class AutoColorTonListener