Basic adaptations for changes to libdcp1 colour conversion handling.
[dcpomatic.git] / src / wx / colour_conversion_editor.h
index 8567cac22250a9a85d83e9ea1b903be7aaa81563..317171aa483129450c2d6f0539a0868f7389befa 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2014 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -38,8 +38,18 @@ public:
 
 private:
        void changed ();
+       void changed (wxSpinCtrlDouble *);
+
+       void set_text_ctrl (wxTextCtrl *, double);
+       void set_spin_ctrl (wxSpinCtrlDouble *, double);
+
+       std::map<wxSpinCtrlDouble*, double> _last_spin_ctrl_value;
        
        wxSpinCtrlDouble* _input_gamma;
+       wxSpinCtrlDouble* _input_power;
+       wxTextCtrl* _input_threshold;
+       wxTextCtrl* _input_A;
+       wxTextCtrl* _input_B;
        wxCheckBox* _input_gamma_linearised;
        wxTextCtrl* _matrix[3][3];
        wxSpinCtrlDouble* _output_gamma;