-//\r
-// Graphics primitives\r
-//\r
-// Various graphic functions that are slightly more complex than those that\r
-// come with various widget libraries.\r
-//\r
-\r
-#ifndef __GRAPHICPRIMITIVES_H__\r
-#define __GRAPHICPRIMITIVES_H__\r
-\r
-#include <wx/wx.h> // For device context\r
-#include "types.h" // For int32\r
-\r
-struct point\r
-{\r
- float x, y;\r
-\r
- point(float xx = 0, float yy = 0): x(xx), y(yy) {}\r
-};\r
-\r
-void Bezier(wxDC &, point, point, point);\r
-void DrawRoundDot(wxDC &, int32, int32);\r
-void DrawSquareDot(wxDC &, int32, int32);\r
-void DrawRoundDotN(wxDC &, int32, int32, uint32);\r
-void DrawSquareDotN(wxDC &, int32, int32, uint32);\r
-\r
-#endif // __GRAPHICPRIMITIVES_H__\r
+//
+// Graphics primitives
+//
+// Various graphic functions that are slightly more complex than those that
+// come with various widget libraries.
+//
+
+#ifndef __GRAPHICPRIMITIVES_H__
+#define __GRAPHICPRIMITIVES_H__
+
+#include <QtGui> // For QPainter
+#include "types.h" // For int32
+
+struct point
+{
+ float x, y;
+
+ point(float xx = 0, float yy = 0): x(xx), y(yy) {}
+};
+
+void Bezier(QPainter &, point, point, point);
+void DrawRoundDot(QPainter &, int32, int32);
+void DrawSquareDot(QPainter &, int32, int32);
+void DrawRoundDotN(QPainter &, int32, int32, uint32);
+void DrawSquareDotN(QPainter &, int32, int32, uint32);
+
+#endif // __GRAPHICPRIMITIVES_H__