Commit cb97a475 authored by Clement CHAVANCE's avatar Clement CHAVANCE
Browse files

added a getMarker method in the PreviewRuler

parent 87af83d3
......@@ -255,6 +255,11 @@ void PreviewRuler::setMarker( Marker m )
m_markerStop = m_frame;
}
qint64 PreviewRuler::getMarker( Marker m ) const
{
return ( m == START ? m_markerStart : m_markerStop );
}
void PreviewRuler::clear()
{
m_markerStart = MARKER_DEFAULT;
......
......@@ -50,6 +50,7 @@ public:
virtual ~PreviewRuler() { }
void setRenderer( GenericRenderer* renderer );
void setMarker( Marker m );
qint64 getMarker( Marker m ) const;
public slots:
void setFrame( qint64 frame, bool broadcastEvent = false );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment