summaryrefslogtreecommitdiff
path: root/src/rendersettings.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-01-25 20:13:03 (GMT)
committerMarius Kintel <marius@kintel.net>2012-01-25 20:13:03 (GMT)
commit4cbdbf9827d2576f8672a6c167261b4b27682920 (patch)
treeb9d413ac635585ceb3abc53b83a48d66ac5e20f3 /src/rendersettings.h
parented02aa85ef0ec0a1adc9aa34f6e1a9f7715a4704 (diff)
Ported remaining color handling away from Qt
Diffstat (limited to 'src/rendersettings.h')
-rw-r--r--src/rendersettings.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rendersettings.h b/src/rendersettings.h
index 32e56f1..15a0746 100644
--- a/src/rendersettings.h
+++ b/src/rendersettings.h
@@ -1,8 +1,8 @@
#ifndef RENDERSETTINGS_H_
#define RENDERSETTINGS_H_
-#include <QColor>
-#include <QMap>
+#include <map>
+#include "linalg.h"
class RenderSettings
{
@@ -22,14 +22,14 @@ public:
CROSSHAIR_COLOR
};
- void setColors(const QMap<RenderColor, QColor> &colors);
- QColor color(RenderColor idx) const;
+ void setColors(const std::map<RenderColor, Color4f> &colors);
+ Color4f color(RenderColor idx);
private:
RenderSettings();
~RenderSettings() {}
- QMap<RenderColor, QColor> colors;
+ std::map<RenderColor, Color4f> colors;
};
#endif
contact: Jan Huwald // Impressum