Commit 3ce0e239 authored by Jan Möbius's avatar Jan Möbius

Dennis:

Draw a dark border around slide window to improve contrast.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5206 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1dbb0e39
......@@ -174,7 +174,10 @@ void QtSlideWindow::paintWindowFrame(QPainter *_painter,
BACKGROUND_GREEN,
BACKGROUND_BLUE,
BACKGROUND_ALPHA)));
_painter->setPen(Qt::NoPen);
_painter->setPen(QColor(BACKGROUND_RED / 4,
BACKGROUND_GREEN / 4,
BACKGROUND_BLUE / 4,
BACKGROUND_ALPHA));
_painter->drawRoundedRect(-2, -15, w + 4, h + 40, 4, 4);
_painter->setPen(Qt::SolidLine);
......
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