diff options
Diffstat (limited to 'stats/chartitem.h')
-rw-r--r-- | stats/chartitem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stats/chartitem.h b/stats/chartitem.h index 6c8919dec..cf20f55a8 100644 --- a/stats/chartitem.h +++ b/stats/chartitem.h @@ -89,7 +89,8 @@ class ChartTextItem : public ChartPixmapItem { public: ChartTextItem(StatsView &v, ChartZValue z, const QFont &f, const std::vector<QString> &text, bool center); ChartTextItem(StatsView &v, ChartZValue z, const QFont &f, const QString &text); - void setColor(const QColor &color); + void setColor(const QColor &color); // Draw on transparent background + void setColor(const QColor &color, const QColor &background); // Fill rectangle with given background color private: QFont f; double fontHeight; |