overwritecolors -> drawTitleOutline. Also temporarily disabled the 'draw scratch option'. Will permanently remove it in near future
svn path=/trunk/KDE/kdebase/workspace/; revision=1019904icc-effect-5.14.5
parent
f586bf760a
commit
d8a32e4930
|
@ -43,7 +43,7 @@ namespace Nitrogen
|
|||
sizeGripMode_( SizeGripWhenNeeded ),
|
||||
showStripes_( true ),
|
||||
drawSeparator_( true ),
|
||||
overwriteColors_( true ),
|
||||
drawTitleOutline_( false ),
|
||||
useOxygenShadows_( true )
|
||||
{}
|
||||
|
||||
|
@ -89,10 +89,10 @@ namespace Nitrogen
|
|||
NitrogenConfig::DRAW_SEPARATOR,
|
||||
defaultConfiguration.drawSeparator() ) );
|
||||
|
||||
// overwrite color
|
||||
setOverwriteColors( group.readEntry(
|
||||
NitrogenConfig::OVERWRITE_COLORS,
|
||||
defaultConfiguration.overwriteColors() ) );
|
||||
// title outline
|
||||
setDrawTitleOutline( group.readEntry(
|
||||
NitrogenConfig::DRAW_TITLE_OUTLINE,
|
||||
defaultConfiguration.drawTitleOutline() ) );
|
||||
|
||||
// oxygen shadows
|
||||
setUseOxygenShadows( group.readEntry(
|
||||
|
@ -112,7 +112,7 @@ namespace Nitrogen
|
|||
|
||||
group.writeEntry( NitrogenConfig::SHOW_STRIPES, showStripes() );
|
||||
group.writeEntry( NitrogenConfig::DRAW_SEPARATOR, drawSeparator() );
|
||||
group.writeEntry( NitrogenConfig::OVERWRITE_COLORS, overwriteColors() );
|
||||
group.writeEntry( NitrogenConfig::DRAW_TITLE_OUTLINE, drawTitleOutline() );
|
||||
group.writeEntry( NitrogenConfig::USE_OXYGEN_SHADOWS, useOxygenShadows() );
|
||||
|
||||
}
|
||||
|
@ -278,7 +278,7 @@ namespace Nitrogen
|
|||
sizeGripMode() == other.sizeGripMode() &&
|
||||
showStripes() == other.showStripes() &&
|
||||
drawSeparator() == other.drawSeparator() &&
|
||||
overwriteColors() == other.overwriteColors() &&
|
||||
drawTitleOutline() == other.drawTitleOutline() &&
|
||||
useOxygenShadows() == other.useOxygenShadows();
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ namespace NitrogenConfig
|
|||
static const QString BUTTON_SIZE = "ButtonSize";
|
||||
static const QString SHOW_STRIPES = "ShowStripes";
|
||||
static const QString DRAW_SEPARATOR = "DrawSeparator";
|
||||
static const QString OVERWRITE_COLORS = "OverwriteColors";
|
||||
static const QString DRAW_TITLE_OUTLINE = "DrawTitleOutline";
|
||||
static const QString FRAME_BORDER = "FrameBorder";
|
||||
static const QString BLEND_COLOR = "BlendColor";
|
||||
static const QString SIZE_GRIP_MODE = "SizeGripMode";
|
||||
|
@ -214,7 +214,8 @@ namespace Nitrogen
|
|||
|
||||
//! stripes
|
||||
virtual bool showStripes( void ) const
|
||||
{ return showStripes_; }
|
||||
//{ return showStripes_; }
|
||||
{ return false; }
|
||||
|
||||
//! stripes
|
||||
virtual void setShowStripes( bool value )
|
||||
|
@ -228,14 +229,14 @@ namespace Nitrogen
|
|||
virtual void setDrawSeparator( bool value )
|
||||
{ drawSeparator_ = value; }
|
||||
|
||||
//! overwrite colors
|
||||
virtual bool overwriteColors( void ) const
|
||||
{ return overwriteColors_; }
|
||||
//! title outline
|
||||
virtual bool drawTitleOutline( void ) const
|
||||
{ return drawTitleOutline_; }
|
||||
|
||||
//! title outline
|
||||
virtual void setDrawTitleOutline( bool value )
|
||||
{ drawTitleOutline_ = value; }
|
||||
|
||||
//! overwrite colors
|
||||
virtual void setOverwriteColors( bool value )
|
||||
{ overwriteColors_ = value; }
|
||||
|
||||
//! oxygen shadows
|
||||
virtual bool useOxygenShadows( void ) const
|
||||
{ return useOxygenShadows_; }
|
||||
|
@ -267,8 +268,8 @@ namespace Nitrogen
|
|||
//! separator
|
||||
bool drawSeparator_;
|
||||
|
||||
//! overwrite colors
|
||||
bool overwriteColors_;
|
||||
//! active window title outline
|
||||
bool drawTitleOutline_;
|
||||
|
||||
//! oxygen shadows
|
||||
bool useOxygenShadows_;
|
||||
|
|
Loading…
Reference in New Issue