diff dia/standard_tools.d @ 27:f3d91579bb28

Checkpoint
author David Bryant <daveb@acres.com.au>
date Wed, 29 Jul 2009 14:11:35 +0930
parents 06c30d250c0a
children
line wrap: on
line diff
--- a/dia/standard_tools.d	Thu Jul 16 00:12:02 2009 +0930
+++ b/dia/standard_tools.d	Wed Jul 29 14:11:35 2009 +0930
@@ -94,6 +94,7 @@
         if (event.button_name == ButtonName.LEFT) {
             mActive = true;
             mAnchorPoint = mCurrentPoint = event.pixel_point;
+            viewport.set_cursor(Cursor.HAND);
             return true;
         }
         else {
@@ -105,6 +106,7 @@
         if (event.button_name == ButtonName.LEFT && mActive) {
             mActive = false;
             viewport.damage_pixel(Rectangle(mAnchorPoint, mCurrentPoint).feathered(LINE_WIDTH / 2.0));
+            viewport.set_cursor(Cursor.DEFAULT);
             return true;
         }
         else {