added the borderSizes() method to the Plastik decoration and corrected the parameters of the borderSizes() method in the KStep decoration
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253697
This commit is contained in:
parent
67e894e1c6
commit
556c95ec32
2 changed files with 10 additions and 0 deletions
|
@ -179,6 +179,15 @@ QColor PlastikHandler::getColor(KWinPlastik::ColorType type, const bool active)
|
|||
}
|
||||
}
|
||||
|
||||
QValueList< PlastikHandler::BorderSize >
|
||||
PlastikHandler::borderSizes() const
|
||||
{
|
||||
// the list must be sorted
|
||||
return QValueList< BorderSize >() << BorderTiny << BorderNormal <<
|
||||
BorderLarge << BorderVeryLarge << BorderHuge <<
|
||||
BorderVeryHuge << BorderOversized;
|
||||
}
|
||||
|
||||
} // KWinPlastik
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -76,6 +76,7 @@ public:
|
|||
static Qt::AlignmentFlags titleAlign() { return m_titleAlign; }
|
||||
static bool reverseLayout() { return m_reverse; }
|
||||
static QColor getColor(KWinPlastik::ColorType type, const bool active = true);
|
||||
QValueList< PlastikHandler::BorderSize > borderSizes() const;
|
||||
private:
|
||||
void readConfig();
|
||||
|
||||
|
|
Loading…
Reference in a new issue