diff src/grapher.h @ 506:470829a21f98

Identify closed branches and display them in a lighter shade
author Chris Cannam
date Mon, 17 Oct 2011 22:08:05 +0100
parents f051d210521e
children 67d18eaca830
line wrap: on
line diff
--- a/src/grapher.h	Mon Oct 17 16:25:02 2011 +0100
+++ b/src/grapher.h	Mon Oct 17 22:08:05 2011 +0100
@@ -43,6 +43,8 @@
 
     UncommittedItem *getUncommittedItem() { return m_uncommitted; }
 
+    void setClosedHeadIds(QSet<QString> closed) { m_closedIds = closed; }
+
     class LayoutException : public std::exception {
     public:
 	LayoutException(QString message) throw() : m_message(message) { }
@@ -80,6 +82,8 @@
     typedef QMap<int, QString> RowDateMap;
     RowDateMap m_rowDates;
 
+    QSet<QString> m_closedIds;
+
     bool m_showDates;
 
     QStringList m_uncommittedParents;