projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some markup quotation marks.
[dcpomatic.git]
/
src
/
wx
/
video_waveform_dialog.h
diff --git
a/src/wx/video_waveform_dialog.h
b/src/wx/video_waveform_dialog.h
index 1cfbb73b725c31c3044e9a0bfdd262b7dfb49d0a..25bd462aee991422e89647215eea69e9fb358b45 100644
(file)
--- a/
src/wx/video_waveform_dialog.h
+++ b/
src/wx/video_waveform_dialog.h
@@
-18,17
+18,22
@@
*/
*/
+
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
#include <wx/wx.h>
-#include <boost/weak_ptr.hpp>
+DCPOMATIC_ENABLE_WARNINGS
+#include <memory>
+
class VideoWaveformPlot;
class VideoWaveformPlot;
-class
Control
FilmViewer;
+class FilmViewer;
class Film;
class VideoWaveformDialog : public wxDialog
{
public:
class Film;
class VideoWaveformDialog : public wxDialog
{
public:
- VideoWaveformDialog (wxWindow* parent,
boost::weak_ptr<const Film> film, ControlFilmViewer*
viewer);
+ VideoWaveformDialog (wxWindow* parent,
std::weak_ptr<const Film> film, std::weak_ptr<FilmViewer>
viewer);
private:
void shown (wxShowEvent &);
private:
void shown (wxShowEvent &);
@@
-36,7
+41,7
@@
private:
void contrast_changed ();
void mouse_moved (int x1, int x2, int y1, int y2);
void contrast_changed ();
void mouse_moved (int x1, int x2, int y1, int y2);
-
ControlFilmViewer*
_viewer;
+
std::weak_ptr<FilmViewer>
_viewer;
VideoWaveformPlot* _plot;
wxChoice* _component;
wxSlider* _contrast;
VideoWaveformPlot* _plot;
wxChoice* _component;
wxSlider* _contrast;