src/colors.h

changeset 455
c5d14d112034
parent 421
7d26db0be944
child 493
16766ac1bbd9
--- a/src/colors.h	Sat Aug 17 11:48:27 2013 +0300
+++ b/src/colors.h	Sun Aug 18 15:33:00 2013 +0300
@@ -19,7 +19,7 @@
 #ifndef COLORS_H
 #define COLORS_H
 
-#include <qcolor.h>
+#include <QColor>
 #include "common.h"
 
 #define MAX_COLORS 512
@@ -32,7 +32,7 @@
 };
 
 void initColors();
-uchar luma (QColor& col);
+int luma (QColor& col);
 
 // Safely gets a color with the given number or null if no such color.
 LDColor* getColor (short colnum);

mercurial