- m_closeButton->width() + borderGap() : 0;
- return width() - m_pixmap.width() - (borderGap() * 4) - buttonWidth;
-}
-
-QColor StatusBarMessageLabel::mixColors(const QColor& c1,
- const QColor& c2,
- int percent) const
-{
- const int recip = 100 - percent;
- const int red = (c1.red() * recip + c2.red() * percent) / 100;
- const int green = (c1.green() * recip + c2.green() * percent) / 100;
- const int blue = (c1.blue() * recip + c2.blue() * percent) / 100;
- return QColor(red, green, blue);
+ m_closeButton->width() + BorderGap : 0;
+ return width() - m_pixmap.width() - (BorderGap * 4) - buttonWidth;