X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgraphicprimitives.h;h=1513ebbe4ba23c4617f31e5891fca79e2008e8c5;hb=3599953dec39d0ae662b039378a0b3eda39424e8;hp=81e15abf8da68afecde87fafbda8549de4d0e0ea;hpb=c84263bb8b0d16e4c6da49aa0b7d0bc904ae02b1;p=ttedit diff --git a/src/graphicprimitives.h b/src/graphicprimitives.h index 81e15ab..1513ebb 100755 --- a/src/graphicprimitives.h +++ b/src/graphicprimitives.h @@ -8,7 +8,7 @@ #ifndef __GRAPHICPRIMITIVES_H__ #define __GRAPHICPRIMITIVES_H__ -#include // For device context +#include // For QPainter #include "types.h" // For int32 struct point @@ -18,10 +18,10 @@ struct point point(float xx = 0, float yy = 0): x(xx), y(yy) {} }; -void Bezier(wxDC &, point, point, point); -void DrawRoundDot(wxDC &, int32, int32); -void DrawSquareDot(wxDC &, int32, int32); -void DrawRoundDotN(wxDC &, int32, int32, uint32); -void DrawSquareDotN(wxDC &, int32, int32, uint32); +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__