+/*
+ * Copyright (C) 2009 Sakari Poussa
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 2.
+ */
#include <QColor>
#include <QBrush>
#include "table-model.h"
QString empty("");
-
-QColor colorHoleBg(Qt::darkGray);
+#define SC_BLUE_THEME
+QColor colorHoleBg(26, 26, 26);
QColor colorHoleFg(Qt::yellow);
-QColor colorBirdie(102, 102, 255);
-QColor colorPar(Qt::green);
-QColor colorBogey(Qt::darkGreen);
-QColor colorDoubleBogey(Qt::red);
-QColor colorBad(Qt::red);
+QColor colorBirdie(138, 226, 52);
+QColor colorPar(Qt::black);
+#ifdef SC_ORANGE_THEME
+QColor colorBogey(0xfc, 0xaf, 0x3e);
+QColor colorDoubleBogey(0xf5, 0x79, 0x00);
+QColor colorBad(0xce, 0x5c, 0x00);
+#endif
+#ifdef SC_BLUE_THEME
+QColor colorBogey(0x72, 0x9f, 0xcf);
+QColor colorDoubleBogey(0x34, 0x65, 0xa4);
+QColor colorBad(0x20, 0x4a, 0x87);
+#endif
QColor colorSubTotal(Qt::black);
QColor colorTotal(Qt::black);
if (orientation == Qt::Horizontal)
return QVariant();
-#if 1
+#if 0
if (role == Qt::BackgroundRole) {
QColor colorHoleBg(Qt::darkGray);
QBrush brush(colorHoleBg);