X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fabstractscopewidget.h;h=e518e1f08758eadf723c15101ce998e30ba79313;hb=9b54cf9cd74c691296593bfa7476fb91981e899f;hp=d1c7265484ff49b31601d20e13e521b5449a8ab5;hpb=82e0bd9676b65c3e74259bc73b3d5f6ef8c60486;p=kdenlive diff --git a/src/abstractscopewidget.h b/src/abstractscopewidget.h index d1c72654..e518e1f0 100644 --- a/src/abstractscopewidget.h +++ b/src/abstractscopewidget.h @@ -82,6 +82,10 @@ public: virtual QString widgetName() const = 0; ///// Variables ///// + static const QColor colHighlightLight; + static const QColor colHighlightDark; + static const QColor colDarkWhite; + static const QPen penThick; static const QPen penThin; static const QPen penLight; @@ -180,7 +184,7 @@ protected: /** The Abstract Scope will try to detect the movement direction when dragging on the widget with the mouse. As soon as the direction is determined it will execute this method. Can be used e.g. for re-scaling content. This is just a dummy function, re-implement to add functionality. */ - virtual void handleMouseDrag(const QPoint movement, const RescaleDirection rescaleDirection, const Qt::KeyboardModifiers rescaleModifiers); + virtual void handleMouseDrag(const QPoint &movement, const RescaleDirection rescaleDirection, const Qt::KeyboardModifiers rescaleModifiers); ///// Reimplemented /////