mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
statistics: move colors to statscolors.h
Most colors were already collected there, but a few were dispersed throughout the source files. For future themeability, move the remaining colors to this common place. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
ba259fb1d6
commit
2e2019dea7
6 changed files with 12 additions and 8 deletions
|
@ -12,8 +12,6 @@ static const double legendBoxBorderSize = 1.0;
|
|||
static const double legendBoxBorderRadius = 4.0; // radius of rounded corners
|
||||
static const double legendBoxScale = 0.8; // 1.0: text-height of the used font
|
||||
static const double legendInternalBorderSize = 2.0;
|
||||
static const QColor legendColor(0x00, 0x8e, 0xcc, 192); // Note: fourth argument is opacity
|
||||
static const QColor legendBorderColor(Qt::black);
|
||||
|
||||
Legend::Legend(StatsView &view, const std::vector<QString> &names) :
|
||||
ChartRectItem(view, ChartZValue::Legend,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue