X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmainapp%2Fgraphicview.h;h=65e1a3d5d6c8235fc1ea4099460b90e7c2fb594b;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=e4cd758245c8bbca312fd3583cddd651d490c1c8;hpb=92c8661cef41f1109908bf645c0a171e34680183;p=architektonas diff --git a/src/mainapp/graphicview.h b/src/mainapp/graphicview.h index e4cd758..65e1a3d 100644 --- a/src/mainapp/graphicview.h +++ b/src/mainapp/graphicview.h @@ -5,7 +5,6 @@ #include "enums.h" #include "color.h" #include "preview.h" -#include "snapper.h" #include "vector.h" class ActionInterface; @@ -209,6 +208,7 @@ Having this class derive from that one *might* make sense... *Maybe*. Not sure. Entity * CatchEntity(const Vector &, RS2::ResolveLevel level = RS2::ResolveNone); Entity * CatchEntity(QMouseEvent *, RS2::ResolveLevel level = RS2::ResolveNone); + Entity * GetSnapperEntity(void); Vector SnapPoint(QMouseEvent *); Vector SnapGrid(Vector); void DrawSnapper(PaintInterface *); @@ -279,7 +279,8 @@ Having this class derive from that one *might* make sense... *Maybe*. Not sure. public://for now // We use this here instead of deriving ActionInterface from it because // this makes more sense. - Snapper snapper; +// Snapper snapper; +//yer next Preview preview; //QG