/*
- Copyright (C) 2018 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2018-2020 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
-#include "standard_controls.h"
#include "film_viewer.h"
+#include "standard_controls.h"
+#include "wx_help.h"
#include <wx/wx.h>
#include <wx/tglbtn.h>
{
_button_sizer->Add (_play_button, 0, wxEXPAND);
_play_button->Bind (wxEVT_TOGGLEBUTTON, boost::bind(&StandardControls::play_clicked, this));
+ HelpGUI::instance()->landmark (_play_button, HelpGUI::PLAY_BUTTON);
}
void
_play_button->Enable (_film && !_film->content().empty() && !active_job);
}
-#ifdef DCPOMATIC_PLAYER_STRESS_TEST
void
StandardControls::play ()
{
_play_button->SetValue (false);
play_clicked ();
}
-#endif