display hue chroma lumaref on mask curves - dispaly 1:1 in some expanders - thanks to Pandagrapher

This commit is contained in:
Desmis
2019-03-04 10:20:08 +01:00
parent 65a418ae27
commit 5156edeb8a
11 changed files with 175 additions and 79 deletions

View File

@@ -76,6 +76,8 @@ public:
class MyFlatCurve : public MyCurve
{
private:
IdleRegister idle_register;
protected:
FlatCurveDescr curve;
@@ -103,6 +105,7 @@ protected:
enum EditedHandle editedHandle;
bool draggingElement;
enum MouseOverAreas area;
double locallabRef; // Locallab reference value to display in the background
void draw ();
void movePoint(bool moveX, bool moveY, bool pipetteDrag = false);
@@ -137,6 +140,7 @@ public:
void setPos(double pos, int chanIdx) override;
void stopNumericalAdjustment() override;
void updateLocallabBackground(double ref);
};
#endif