namespace view {
const int CursorPair::DeltaPadding = 8;
+const QColor CursorPair::ViewportFillColour(220, 231, 243);
CursorPair::CursorPair(View &view) :
TimeItem(view),
return;
p.setPen(Qt::NoPen);
- p.setBrush(QBrush(View::CursorAreaColour));
+ p.setBrush(QBrush(ViewportFillColour));
const pair<float, float> offsets(get_cursor_offsets());
const int l = (int)max(min(
{
private:
static const int DeltaPadding;
+ static const QColor ViewportFillColour;
public:
/**
const int View::ScaleUnits[3] = {1, 2, 5};
-const QColor View::CursorAreaColour(220, 231, 243);
-
const QSizeF View::LabelPadding(4, 0);
View::View(Session &session, QWidget *parent) :
static const int ScaleUnits[3];
public:
- static const QColor CursorAreaColour;
-
static const QSizeF LabelPadding;
public: