Commit e4709a2c authored by Jan Möbius's avatar Jan Möbius
Browse files

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 9c5590b1
...@@ -174,7 +174,10 @@ void QtSlideWindow::paintWindowFrame(QPainter *_painter, ...@@ -174,7 +174,10 @@ void QtSlideWindow::paintWindowFrame(QPainter *_painter,
BACKGROUND_GREEN, BACKGROUND_GREEN,
BACKGROUND_BLUE, BACKGROUND_BLUE,
BACKGROUND_ALPHA))); 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->drawRoundedRect(-2, -15, w + 4, h + 40, 4, 4);
_painter->setPen(Qt::SolidLine); _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