[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-commits] Commit Complete
Commit by : alex
Repository : xara
Revision : 1000
Date : Thu May 11 13:08:34 BST 2006
Changed paths:
M /Trunk/XaraLX/Kernel/statline.cpp
M /Trunk/XaraLX/wxOil/camview.cpp
Mouse position now working
Diff:
Index: Trunk/XaraLX/Kernel/statline.cpp
===================================================================
--- Trunk/XaraLX/Kernel/statline.cpp (revision 999)
+++ Trunk/XaraLX/Kernel/statline.cpp (revision 1000)
@@ -1106,7 +1106,7 @@
if (!Blank && GetMousePosText(&MousePosText,*pDocCoord,pSpread)==FALSE)
ReturnValue=FALSE;
ReturnValue &=SetStringGadgetValue(_R(IDC_SL_MOUSEPOS), MousePosText);
- PaintGadgetNow(_R(IDC_SL_MOUSEPOS));
+// PaintGadgetNow(_R(IDC_SL_MOUSEPOS)); - is there any need to paint this now? Flushes gtk buffer etc. Not a great idea.
// WEBSTER - markn 15/1/97
// No rulers in Webster
Index: Trunk/XaraLX/wxOil/camview.cpp
===================================================================
--- Trunk/XaraLX/wxOil/camview.cpp (revision 999)
+++ Trunk/XaraLX/wxOil/camview.cpp (revision 1000)
@@ -2590,7 +2590,7 @@
// passed on any subsequent DragPointerIdle events must be the same as this!
CurrentMousePos = point;
-#if !defined(EXCLUDE_FROM_RALPH) && !defined(EXCLUDE_FROM_XARALX)
+#if !defined(EXCLUDE_FROM_RALPH)
// if status line has not already been updated by someone calling CSnap::Snap(), call
// CSnap::Snap(), snapping to grid only, to update status line (and ruler mouse followers)
if (pStatusLine && pStatusLine->MousePosNeedsUpdating())
Xara