*/
+
#include "markers_dialog.h"
#include "wx_util.h"
#include "timecode.h"
#include <boost/bind/bind.hpp>
#include <iostream>
+
using std::cout;
using std::shared_ptr;
using std::weak_ptr;
using boost::bind;
using dcpomatic::DCPTime;
+
class Marker
{
public:
Button* set_button;
};
+
MarkersDialog::MarkersDialog (wxWindow* parent, weak_ptr<Film> film, weak_ptr<FilmViewer> viewer)
: wxDialog (parent, wxID_ANY, _("Markers"))
, _film (film)
_markers.push_back (make_shared<Marker>(this, grid, r++, film, viewer, _("Last frame of moving credits"), dcp::Marker::LFMC));
sizer->Add (grid, 0, wxALL, 8);
+
+ auto buttons = CreateSeparatedButtonSizer (wxCLOSE);
+ if (buttons) {
+ sizer->Add (buttons, wxSizerFlags().Expand().DoubleBorder());
+ }
+
SetSizerAndFit (sizer);
}