/*
- Copyright (C) 2013-2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+
#ifndef DCPOMATIC_COLOUR_CONVERSION_EDITOR_H
#define DCPOMATIC_COLOUR_CONVERSION_EDITOR_H
-#include <boost/signals2.hpp>
+
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
+#include <boost/signals2.hpp>
+
-class wxSpinCtrlDouble;
class ColourConversion;
+class wxGridBagSizer;
+class wxSpinCtrlDouble;
+
class ColourConversionEditor : public wxPanel
{
private:
void changed ();
- void changed (wxSpinCtrlDouble *);
+ void spin_ctrl_changed(wxSpinCtrlDouble *);
void chromaticity_changed ();
void adjusted_white_changed ();
void update_rgb_to_xyz ();
wxTextCtrl* _blue_y;
wxTextCtrl* _white_x;
wxTextCtrl* _white_y;
- wxCheckBox* _adjust_white;
+ CheckBox* _adjust_white;
wxTextCtrl* _adjusted_white_x;
wxTextCtrl* _adjusted_white_y;
- wxCheckBox* _output;
+ CheckBox* _output;
wxStaticText* _rgb_to_xyz[3][3];
wxStaticText* _bradford[3][3];
};
+
#endif
+