Mercurial > hg > svgui
diff view/Overview.h @ 965:73b0dc7d6ec1
Box colour a darker grey by default (but also changeable now)
author | Chris Cannam |
---|---|
date | Thu, 21 May 2015 13:55:06 +0100 |
parents | 26da827e8fb5 |
children | bc2cb82050a0 |
line wrap: on
line diff
--- a/view/Overview.h Thu May 14 14:57:42 2015 +0100 +++ b/view/Overview.h Thu May 21 13:55:06 2015 +0100 @@ -49,6 +49,8 @@ virtual void viewZoomLevelChanged(View *, int, bool); virtual void viewManagerPlaybackFrameChanged(sv_frame_t); + virtual void setBoxColour(QColor); + protected: virtual void paintEvent(QPaintEvent *e); virtual void mousePressEvent(QMouseEvent *e); @@ -67,6 +69,7 @@ bool m_clickedInRange; sv_frame_t m_dragCentreFrame; QTime m_modelTestTime; + QColor m_boxColour; typedef std::set<View *> ViewSet; ViewSet m_views;