diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-16 14:10:09 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-16 14:10:09 +0100 |
| commit | f8a0bc6135a933dcf660bbc46b4b3d29d503690e (patch) | |
| tree | 3d31c624da5ebedf77b92e94e302c3ecd2068bd4 /src/wx/video_waveform_dialog.h | |
| parent | 533de5cc51d93a8403816fc0f04ca1d5aa733242 (diff) | |
Simple mouseover in the video waveform (part of #932).
Diffstat (limited to 'src/wx/video_waveform_dialog.h')
| -rw-r--r-- | src/wx/video_waveform_dialog.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wx/video_waveform_dialog.h b/src/wx/video_waveform_dialog.h index c853d0cda..aa134f7a5 100644 --- a/src/wx/video_waveform_dialog.h +++ b/src/wx/video_waveform_dialog.h @@ -19,22 +19,27 @@ */ #include <wx/wx.h> +#include <boost/weak_ptr.hpp> class VideoWaveformPlot; class FilmViewer; +class Film; class VideoWaveformDialog : public wxDialog { public: - VideoWaveformDialog (wxWindow* parent, FilmViewer* viewer); + VideoWaveformDialog (wxWindow* parent, boost::weak_ptr<const Film> film, FilmViewer* viewer); private: void shown (wxShowEvent &); void component_changed (); void contrast_changed (); + void mouse_moved (int x1, int x2, int y1, int y2); FilmViewer* _viewer; VideoWaveformPlot* _plot; wxChoice* _component; wxSlider* _contrast; + wxStaticText* _x_position; + wxStaticText* _value; }; |
