mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 23:25:57 +01:00
2021-06-26 Fred Gleason <fredg@paravelsystems.com>
* Added an 'AIR_WIDGET_BACKGROUND_COLOR' define to 'rdairplay/colors.h'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <QPainter>
|
||||
|
||||
#include "button_log.h"
|
||||
#include "colors.h"
|
||||
|
||||
ButtonLog::ButtonLog(RDLogPlay *log,int id,RDAirPlayConf *conf,bool allow_pause,
|
||||
QWidget *parent)
|
||||
@@ -535,7 +536,8 @@ void ButtonLog::resizeEvent(QResizeEvent *e)
|
||||
void ButtonLog::paintEvent(QPaintEvent *e)
|
||||
{
|
||||
QPainter *p=new QPainter(this);
|
||||
p->fillRect(0,0,size().width(),size().height(),QColor("#D0D0D0"));
|
||||
p->fillRect(0,0,size().width(),size().height(),
|
||||
QColor(AIR_WIDGET_BACKGROUND_COLOR));
|
||||
delete p;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user