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

List:       kde-commits
Subject:    branches/koffice/1.6/koffice/krita/plugins/tools/tool_curves
From:       Emanuele Tamponi <emanuele () valinor ! it>
Date:       2006-07-31 21:50:49
Message-ID: 1154382649.534918.22015.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 568354 by tamponi:

Max distance from curve for dragging is now 2.5; two functions have been virtualized in KisCurve.


 M  +3 -3      kis_curve_framework.h  
 M  +1 -1      kis_tool_curve.h  


--- branches/koffice/1.6/koffice/krita/plugins/tools/tool_curves/kis_curve_framework.h #568353:568354
@@ -141,10 +141,10 @@
     KisCurve subCurve(const CurvePoint&, const CurvePoint&);
     KisCurve subCurve(iterator,iterator);
 
-    void deleteFirstPivot();
-    void deleteLastPivot();
-
     /* Core virtual functions */
+    virtual void deleteFirstPivot();
+    virtual void deleteLastPivot();
+    
     virtual iterator deleteCurve(const KisPoint&, const KisPoint&);
     virtual iterator deleteCurve(const CurvePoint&, const CurvePoint&);
     virtual iterator deleteCurve(iterator, iterator);
--- branches/koffice/1.6/koffice/krita/plugins/tools/tool_curves/kis_tool_curve.h #568353:568354
@@ -33,7 +33,7 @@
 class QRect;
 class KisPainter;
 
-const double MAXDISTANCE = 1.2; 
+const double MAXDISTANCE = 2.5;
 
 class KisToolCurve : public KisTool {
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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