summaryrefslogtreecommitdiff
path: root/src/wx/video_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-06 23:34:48 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-06 23:34:48 +0100
commit401af8742fe5b2bb3ec117acdc4b0b36bc8f5047 (patch)
tree903a138f847c19c9bfa7dca675abdc9b5ff11231 /src/wx/video_panel.cc
parent2857a60daf47286979a813ebefd892757de4f113 (diff)
Interface levels in audio tab.
Diffstat (limited to 'src/wx/video_panel.cc')
-rw-r--r--src/wx/video_panel.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index 029e410a6..dbba9e3b0 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -82,9 +82,6 @@ VideoPanel::VideoPanel (ContentPanel* p)
font.SetPointSize(font.GetPointSize() - 1);
_reference_note->SetFont(font);
- _grid = new wxGridBagSizer (DCPOMATIC_SIZER_X_GAP, DCPOMATIC_SIZER_Y_GAP);
- _sizer->Add (_grid, 0, wxALL, 8);
-
_type_label = create_label (this, _("Type"), true);
_frame_type = new ContentChoice<VideoContent, VideoFrameType> (
this,
@@ -205,23 +202,10 @@ VideoPanel::VideoPanel (ContentPanel* p)
_colour_conversion->Bind (wxEVT_CHOICE, boost::bind (&VideoPanel::colour_conversion_changed, this));
_edit_colour_conversion_button->Bind (wxEVT_BUTTON, boost::bind (&VideoPanel::edit_colour_conversion_clicked, this));
- Config::instance()->Changed.connect (boost::bind (&VideoPanel::config_changed, this, _1));
-
add_to_grid ();
}
void
-VideoPanel::config_changed (Config::Property p)
-{
- if (p == Config::INTERFACE_COMPLEXITY) {
- _grid->Clear ();
- add_to_grid ();
- _sizer->Layout ();
- _grid->Layout ();
- }
-}
-
-void
VideoPanel::add_to_grid ()
{
Config::Interface const interface = Config::instance()->interface_complexity();