-FilmViewer::FilmViewer (wxWindow* p)
- : wxPanel (p)
- , _panel (new wxPanel (this))
- , _outline_content (new wxCheckBox (this, wxID_ANY, _("Outline content")))
- , _left_eye (new wxRadioButton (this, wxID_ANY, _("Left eye"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP))
- , _right_eye (new wxRadioButton (this, wxID_ANY, _("Right eye")))
- , _jump_to_selected (new wxCheckBox (this, wxID_ANY, _("Jump to selected content")))
- , _slider (new wxSlider (this, wxID_ANY, 0, 0, 4096))
- , _back_button (new wxButton (this, wxID_ANY, wxT("<")))
- , _forward_button (new wxButton (this, wxID_ANY, wxT(">")))
- , _frame_number (new wxStaticText (this, wxID_ANY, wxT("")))
- , _timecode (new wxStaticText (this, wxID_ANY, wxT("")))
- , _play_button (new wxToggleButton (this, wxID_ANY, _("Play")))
- , _coalesce_player_changes (false)
- , _pending_player_change (false)
- , _last_seek_accurate (true)
- , _audio (DCPOMATIC_RTAUDIO_API)
- , _audio_channels (0)
- , _audio_block_size (1024)
- , _playing (false)
- , _latency_history_count (0)
-{
-#ifndef __WXOSX__
- _panel->SetDoubleBuffered (true);
-#endif