diff changesetitem.h @ 133:aaeab914f2a3

* Better attempt at retaining current visible area when history scene changes; first cut at highlighting new items
author Chris Cannam
date Tue, 30 Nov 2010 12:45:34 +0000
parents fcaf09ee825d
children bad40d7e7a2b
line wrap: on
line diff
--- a/changesetitem.h	Tue Nov 30 11:41:46 2010 +0000
+++ b/changesetitem.h	Tue Nov 30 12:45:34 2010 +0000
@@ -48,6 +48,9 @@
     bool isCurrent() const { return m_current; }
     void setCurrent(bool c) { m_current = c; }
 
+    bool isNew() const { return m_new; }
+    void setNew(bool n) { m_new = n; }
+
     bool shouldShowBranch() const { return m_showBranch; }
     void setShowBranch(bool s) { m_showBranch = s; }
 
@@ -71,6 +74,7 @@
     int m_row;
     bool m_wide;
     bool m_current;
+    bool m_new;
 };
 
 #endif // CHANGESETITEM_H