Auto-open curves on image reopen; see issue #724

This commit is contained in:
Oliver Duis
2011-06-07 19:21:02 +02:00
parent 46e433ed2f
commit 9d939bdf82
6 changed files with 28 additions and 0 deletions

View File

@@ -72,6 +72,9 @@ class CurveEditor {
bool isUnChanged ();
void setUnChanged (bool uc);
void updateBackgroundHistogram (LUTu & hist);
bool openIfNonlinear(); // Open up the curve if it has modifications and it's not already opened
void setCurve (const std::vector<double>& p);
virtual std::vector<double> getCurve () = 0;
};