Adding softproofing. Now the output profile and the new rendering intent

profile for the output profile will only be shown when the new softproof
toggle button (bottom of the preview in the Editor panel) will be on.
This commit is contained in:
Hombre
2015-12-15 01:06:38 +01:00
parent 8f73377601
commit 32eb6b996c
48 changed files with 7255 additions and 142 deletions

View File

@@ -72,11 +72,18 @@ protected:
ImProcFunctions ipf;
Glib::ustring monitorProfile;
eRenderingIntent monitorIntent;
int scale;
bool highDetailPreprocessComputed;
bool highDetailRawComputed;
bool allocated;
bool isColorProfileDirty;
bool softProofing;
void freeAll ();
// Precomputed values used by DetailedCrop ----------------------------------------------
@@ -249,6 +256,10 @@ public:
void getSpotWB (int x, int y, int rectSize, double& temp, double& green);
void getAutoCrop (double ratio, int &x, int &y, int &w, int &h);
void setMonitorProfile (Glib::ustring profile, eRenderingIntent intent);
void getMonitorProfile (Glib::ustring &profile, eRenderingIntent &intent);
void setSoftProofing (bool softProof);
bool updateTryLock ()
{
return updaterThreadStart.trylock();