// Who When What
// --- ---------- -------------------------------------------------------------
// JLH 08/28/2008 Created this file
+// JLH 09/02/2008 Separated scrolling from dedicated tool to MMB drag
//
// FIXED:
//
+// - Fixed scrolling
+//
// STILL TO BE DONE:
//
// - Fix bug in Glyphpoints when dragging on an empty canvas or loading a font
-// - Fix scrolling, zooming, settings (ini)
+// - Fix zooming, settings (ini)
+// - Fix point adding bug 1: should be able to add points to empty canvas
+// - Fix point adding bug 2: should be able to add point successfully to single
+// point on screen
+// - Add poly multi-select
+// - Add point multi-select
//
// Uncomment this for debugging...
}
else if (e.LeftUp())
{
-// mouseDown = false;
-
if (tool == TOOLScroll || tool == TOOLZoom)
ReleaseMouse();
}
+ else if (e.MiddleDown())
+ {
+ SetCursor(*(app.cur[2])); // Scrolling cursor
+ }
+ else if (e.MiddleUp())
+ {
+ SetCursor(*(app.cur[tool])); // Restore previous cursor
+ }
else if (e.Dragging())
{
if (e.RightIsDown())