diff layer/FlexiNoteLayer.h @ 658:050404ae7799 tonioni

toggle button for boundary constraints and note recalculation
author gyorgyf
date Thu, 20 Jun 2013 10:58:40 +0100
parents 902c7c9d77ea
children 8663a831838f
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.h	Wed Jun 19 22:56:17 2013 +0100
+++ b/layer/FlexiNoteLayer.h	Thu Jun 20 10:58:40 2013 +0100
@@ -96,6 +96,8 @@
         SplitNote,
         LeftBoundary
     };
+    
+    void setIntelligentActions(bool on) { m_intelligentActions=on; }
 
     void setVerticalScale(VerticalScale scale);
     VerticalScale getVerticalScale() const { return m_verticalScale; }
@@ -161,6 +163,7 @@
 
     FlexiNoteModel *m_model;
     bool m_editing;
+    bool m_intelligentActions;
     int m_dragPointX;
     int m_dragPointY;
     int m_dragStartX;