added dim effect to the titlebar buttons

This commit is contained in:
fourtf
2018-07-04 13:13:21 +02:00
parent 19fdfaef42
commit 06ff6e6479
4 changed files with 14 additions and 6 deletions
+2
View File
@@ -24,6 +24,8 @@ void TitleBarButton::paintEvent(QPaintEvent *)
{
QPainter painter(this);
painter.setOpacity(this->getCurrentDimAmount());
QColor color = this->themeManager->window.text;
QColor background = this->themeManager->window.background;