X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=inline;f=src%2Fabstractscopewidget.cpp;h=2ef642bbcae1e2232a52cc0c144110de57cf127e;hb=3577376c5e5b6cc533af0edc9d4f03d0b3770f9e;hp=af113407bc175cb144e6479fb26e21194eedad5d;hpb=2d1cdc69906a9f6e96928f53fb9a6cc17134792c;p=kdenlive diff --git a/src/abstractscopewidget.cpp b/src/abstractscopewidget.cpp index af113407..2ef642bb 100644 --- a/src/abstractscopewidget.cpp +++ b/src/abstractscopewidget.cpp @@ -20,6 +20,8 @@ #include #include +#include + // Uncomment for Scope debugging. //#define DEBUG_ASW @@ -32,14 +34,18 @@ const int REALTIME_FPS = 30; const QColor light(250, 238, 226, 255); const QColor dark(40, 40, 39, 255); const QColor dark2(25, 25, 23, 255); - -const QPen AbstractScopeWidget::penThick(QBrush(QColor(250, 250, 250)), 2, Qt::SolidLine); -const QPen AbstractScopeWidget::penThin(QBrush(QColor(250, 250, 250)), 1, Qt::SolidLine); -const QPen AbstractScopeWidget::penLight(QBrush(QColor(200, 200, 250, 150)), 1, Qt::SolidLine); -const QPen AbstractScopeWidget::penLightDots(QBrush(QColor(200, 200, 250, 150)), 1, Qt::DotLine); -const QPen AbstractScopeWidget::penLighter(QBrush(QColor(225, 225, 250, 225)), 1, Qt::SolidLine); -const QPen AbstractScopeWidget::penDark(QBrush(QColor(0, 0, 20, 250)), 1, Qt::SolidLine); -const QPen AbstractScopeWidget::penDarkDots(QBrush(QColor(0, 0, 20, 250)), 1, Qt::DotLine); +const QColor AbstractScopeWidget::colHighlightLight(18, 130, 255, 255); +const QColor AbstractScopeWidget::colHighlightDark(255, 64, 19, 255); +const QColor AbstractScopeWidget::colDarkWhite(250, 250, 250); + +const QPen AbstractScopeWidget::penThick(QBrush(AbstractScopeWidget::colDarkWhite.rgb()), 2, Qt::SolidLine); +const QPen AbstractScopeWidget::penThin(QBrush(AbstractScopeWidget::colDarkWhite.rgb()), 1, Qt::SolidLine); +const QPen AbstractScopeWidget::penLight(QBrush(QColor(200, 200, 250, 150)), 1, Qt::SolidLine); +const QPen AbstractScopeWidget::penLightDots(QBrush(QColor(200, 200, 250, 150)), 1, Qt::DotLine); +const QPen AbstractScopeWidget::penLighter(QBrush(QColor(225, 225, 250, 225)), 1, Qt::SolidLine); +const QPen AbstractScopeWidget::penDark(QBrush(QColor(0, 0, 20, 250)), 1, Qt::SolidLine); +const QPen AbstractScopeWidget::penDarkDots(QBrush(QColor(0, 0, 20, 250)), 1, Qt::DotLine); +const QPen AbstractScopeWidget::penBackground(QBrush(dark2), 1, Qt::SolidLine); const QString AbstractScopeWidget::directions[] = {"North", "Northeast", "East", "Southeast"};