]> Shamusworld >> Repos - architektonas/blobdiff - src/painter.h
Converted codebase from Qt4 to Qt5.
[architektonas] / src / painter.h
index 1bc261b0eab5cbd198467e5d8e38688db3939a09..178b7dbca605ad772f7b9d9c2f2ffe792c09e2e1 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __PAINTER_H__
 #define __PAINTER_H__
 
-#include <QtGui>
+#include <QtWidgets>
 #include "vector.h"
 
 //#define SCREEN_ZOOM  (1.0 / 4.0)
@@ -22,6 +22,8 @@ class Painter
                void DrawArc(Vector, double, double, double);
                void DrawEllipse(Vector, double, double);
                void DrawHandle(Vector);
+               void DrawArrowHandle(Vector, double);
+               void DrawArrowToLineHandle(Vector, double);
                void DrawLine(int, int, int, int);
                void DrawLine(Vector, Vector);
                void DrawPoint(int, int);