Mercurial > hg > svgui
comparison layer/SingleColourLayer.h @ 366:a55affd7ab6c
* Avoid setting a new colour on layer when adding the same layer more than
once
author | Chris Cannam |
---|---|
date | Mon, 11 Feb 2008 11:06:17 +0000 |
parents | c0b9eec70639 |
children | 2c59b0cd176b |
comparison
equal
deleted
inserted
replaced
365:26ce2fb7bcbf | 366:a55affd7ab6c |
---|---|
68 typedef std::map<int, int> ColourRefCount; | 68 typedef std::map<int, int> ColourRefCount; |
69 static ColourRefCount m_colourRefCount; | 69 static ColourRefCount m_colourRefCount; |
70 | 70 |
71 int m_colour; | 71 int m_colour; |
72 bool m_colourExplicitlySet; | 72 bool m_colourExplicitlySet; |
73 bool m_defaultColourSet; | |
73 }; | 74 }; |
74 | 75 |
75 #endif | 76 #endif |