diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-13 14:12:15 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-13 14:12:15 +0000 |
| commit | 71d56fbe3ba5974505469d2c8b7efcdef4eb8adc (patch) | |
| tree | 7967193b6b8668bf0de9439a635e1bc9f80283a8 /src/wx/colour_conversion_editor.h | |
| parent | df89a39cfd34d0d70609daa214d3b618bb6223bd (diff) | |
Disable YUV->RGB conversion controls with non-YUV sources (#649).
Diffstat (limited to 'src/wx/colour_conversion_editor.h')
| -rw-r--r-- | src/wx/colour_conversion_editor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/colour_conversion_editor.h b/src/wx/colour_conversion_editor.h index a987cb3a9..918f2a7d0 100644 --- a/src/wx/colour_conversion_editor.h +++ b/src/wx/colour_conversion_editor.h @@ -29,7 +29,7 @@ class ColourConversion; class ColourConversionEditor : public wxPanel { public: - ColourConversionEditor (wxWindow *); + ColourConversionEditor (wxWindow *, bool yuv); void set (ColourConversion); ColourConversion get () const; @@ -43,7 +43,7 @@ private: void adjusted_white_changed (); void update_rgb_to_xyz (); void update_bradford (); - void subhead (wxGridBagSizer* sizer, wxWindow* parent, wxString text, int& row) const; + wxStaticText* subhead (wxGridBagSizer* sizer, wxWindow* parent, wxString text, int& row) const; void set_text_ctrl (wxTextCtrl *, double); void set_spin_ctrl (wxSpinCtrlDouble *, double); |
