X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmonitor.h;h=9d7723f381bd69a0d5ef863400604385fa44e731;hb=623c7ac1fac4f52a39f102649d062cc900e470d6;hp=37e3cc65f1cb56f072afcbf4e168ad4ca63d3908;hpb=73e4527d1abd954f088b317e59c8f0cfc1cd2e16;p=kdenlive diff --git a/src/monitor.h b/src/monitor.h index 37e3cc65..9d7723f3 100644 --- a/src/monitor.h +++ b/src/monitor.h @@ -30,6 +30,9 @@ #include "gentime.h" #include "ui_monitor_ui.h" +#ifdef Q_WS_MAC +#include "videoglwidget.h" +#endif class MonitorManager; class Render; @@ -78,6 +81,7 @@ public: DocClipBase *activeClip(); GenTime position(); void checkOverlay(); + void updateTimecodeFormat(); protected: virtual void mousePressEvent(QMouseEvent * event); @@ -101,7 +105,6 @@ private: bool m_isActive; double m_scale; int m_length; - int m_position; bool m_dragStarted; MonitorRefresh *m_monitorRefresh; KIcon m_playIcon; @@ -112,7 +115,11 @@ private: QMenu *m_configMenu; QMenu *m_playMenu; QPoint m_DragStartPosition; +#ifdef Q_WS_MAC + VideoGLWidget *m_glWidget; +#endif GenTime getSnapForPos(bool previous); + bool m_frametimecode; private slots: void seekCursor(int pos);