From 24b197fd10d1db3ebe8d8b357e24c3bd51a45f2c Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Wed, 10 Nov 1999 19:05:47 +0000 Subject: [PATCH] changed the default color for the inactive titlebar. i liked the other one better, but the "open design" requires this. Small fix to the beclient. svn path=/trunk/kdebase/kwin/; revision=33438 --- beclient.cpp | 4 ++-- options.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/beclient.cpp b/beclient.cpp index 88339c2eb2..c5a328a2e0 100644 --- a/beclient.cpp +++ b/beclient.cpp @@ -123,7 +123,7 @@ void BeClient::paintEvent( QPaintEvent* ) p.drawPixmap( t.right() - 20, t.center().y()-8, *size_pix ); p.drawPixmap( t.left() +4, t.center().y()-miniIcon().height()/2, miniIcon() ); - t.setLeft( t.left() + 20 +10); + t.setLeft( t.left() + 20 + 5 ); p.setPen(options->color(Options::Font, isActive())); p.setFont(options->font(isActive())); p.drawText( t, AlignLeft|AlignVCenter, caption() ); @@ -190,7 +190,7 @@ Client::MousePosition BeClient::mousePosition( const QPoint& p ) const void BeClient::mousePressEvent( QMouseEvent * e ) { - + Client::mousePressEvent( e ); } diff --git a/options.cpp b/options.cpp index ae6d1960ed..589e201488 100644 --- a/options.cpp +++ b/options.cpp @@ -88,7 +88,7 @@ void Options::reload() // inactive colors[Frame+KWINCOLORS] = config->readColorEntry("inactiveFrame", &colors[Frame]); - colors[TitleBar+KWINCOLORS] = colors[Frame]; + colors[TitleBar+KWINCOLORS] = colors[Frame].dark(); colors[TitleBar+KWINCOLORS] = config-> readColorEntry("inactiveBackground", &colors[TitleBar+KWINCOLORS]); @@ -114,7 +114,7 @@ void Options::reload() colors[ButtonFg+KWINCOLORS] = config-> readColorEntry("buttonForeground", &colors[ButtonFg]); - colors[Handle+KWINCOLORS] = + colors[Handle+KWINCOLORS] = colors[Frame]; config->readColorEntry("inactiveHandle", &colors[Handle]); colors[Font+KWINCOLORS] = Qt::darkGray;