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
This commit is contained in:
parent
40966ef808
commit
24b197fd10
2 changed files with 4 additions and 4 deletions
|
@ -123,7 +123,7 @@ void BeClient::paintEvent( QPaintEvent* )
|
||||||
|
|
||||||
p.drawPixmap( t.right() - 20, t.center().y()-8, *size_pix );
|
p.drawPixmap( t.right() - 20, t.center().y()-8, *size_pix );
|
||||||
p.drawPixmap( t.left() +4, t.center().y()-miniIcon().height()/2, miniIcon() );
|
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.setPen(options->color(Options::Font, isActive()));
|
||||||
p.setFont(options->font(isActive()));
|
p.setFont(options->font(isActive()));
|
||||||
p.drawText( t, AlignLeft|AlignVCenter, caption() );
|
p.drawText( t, AlignLeft|AlignVCenter, caption() );
|
||||||
|
@ -190,7 +190,7 @@ Client::MousePosition BeClient::mousePosition( const QPoint& p ) const
|
||||||
|
|
||||||
void BeClient::mousePressEvent( QMouseEvent * e )
|
void BeClient::mousePressEvent( QMouseEvent * e )
|
||||||
{
|
{
|
||||||
|
|
||||||
Client::mousePressEvent( e );
|
Client::mousePressEvent( e );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ void Options::reload()
|
||||||
// inactive
|
// inactive
|
||||||
colors[Frame+KWINCOLORS] = config->readColorEntry("inactiveFrame",
|
colors[Frame+KWINCOLORS] = config->readColorEntry("inactiveFrame",
|
||||||
&colors[Frame]);
|
&colors[Frame]);
|
||||||
colors[TitleBar+KWINCOLORS] = colors[Frame];
|
colors[TitleBar+KWINCOLORS] = colors[Frame].dark();
|
||||||
colors[TitleBar+KWINCOLORS] = config->
|
colors[TitleBar+KWINCOLORS] = config->
|
||||||
readColorEntry("inactiveBackground", &colors[TitleBar+KWINCOLORS]);
|
readColorEntry("inactiveBackground", &colors[TitleBar+KWINCOLORS]);
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ void Options::reload()
|
||||||
colors[ButtonFg+KWINCOLORS] = config->
|
colors[ButtonFg+KWINCOLORS] = config->
|
||||||
readColorEntry("buttonForeground", &colors[ButtonFg]);
|
readColorEntry("buttonForeground", &colors[ButtonFg]);
|
||||||
|
|
||||||
colors[Handle+KWINCOLORS] =
|
colors[Handle+KWINCOLORS] = colors[Frame];
|
||||||
config->readColorEntry("inactiveHandle", &colors[Handle]);
|
config->readColorEntry("inactiveHandle", &colors[Handle]);
|
||||||
|
|
||||||
colors[Font+KWINCOLORS] = Qt::darkGray;
|
colors[Font+KWINCOLORS] = Qt::darkGray;
|
||||||
|
|
Loading…
Reference in a new issue