[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/plugins/defaultTools/defaulttool
From:       Thomas Zander <zander () kde ! org>
Date:       2010-07-07 8:15:34
Message-ID: 20100707081534.34F97AC85D () svn ! kde ! org
[Download RAW message or body]

SVN commit 1146979 by zander:

Remove repaints for now.

The idea was to paint nice overlays on the screen giving an indication
of the action we could do. But currently we only change the cursor, so
the repaint is not needed.
Would still be really cool to have arrows or otherwise visual clues on
what clicking and dragging would do at the current cursor position. But
not today.

 M  +3 -3      DefaultTool.cpp  


--- trunk/koffice/plugins/defaultTools/defaulttool/DefaultTool.cpp #1146978:1146979
@@ -514,11 +514,11 @@
             if (inside != m_mouseWasInsideHandles || m_lastHandle != newDirection) {
                 m_lastHandle = newDirection;
                 m_mouseWasInsideHandles = inside;
-                repaintDecorations();
+                //repaintDecorations();
             }
         } else {
-            if (m_lastHandle != KoFlake::NoHandle)
-                repaintDecorations();
+            /*if (m_lastHandle != KoFlake::NoHandle)
+                repaintDecorations(); */
             m_lastHandle = KoFlake::NoHandle;
             m_mouseWasInsideHandles = false;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic