Skip to content
Permalink
Browse files

added QPoint QgsMapCanvas::mouseLastXY()

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5183 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Apr 6, 2006
1 parent a9e8d9e commit 6278c928680a55ee775b84db095a17dbd9446f67
Showing with 7 additions and 1 deletion.
  1. +4 −1 src/gui/qgsmapcanvas.cpp
  2. +3 −0 src/gui/qgsmapcanvas.h
@@ -1074,4 +1074,7 @@ void QgsMapCanvas::showError(QgsMapLayer * mapLayer)

}

// ENDS
QPoint QgsMapCanvas::mouseLastXY()
{
return mCanvasProperties->mouseLastXY;
}
@@ -191,6 +191,9 @@ class QgsMapCanvas : public Q3CanvasView
void panActionEnd(QPoint releasePoint);
//! Called when mouse is moving and pan is activated
void panAction(QMouseEvent * event);

//! returns last position of mouse cursor
QPoint mouseLastXY();

public slots:

0 comments on commit 6278c92

Please sign in to comment.
You can’t perform that action at this time.