Changeset 6900 for source/ariba/utility/visual/DddVis.cpp
- Timestamp:
- Nov 10, 2009, 7:58:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/visual/DddVis.cpp
r6822 r6900 230 230 unsigned char b 231 231 ){ 232 ostringstream out; 233 232 NodeSet::iterator i = colorSet.find(node); 233 unsigned int color = makeColor(r,g,b); 234 235 if( i == colorSet.end() ){ 236 colorSet.insert(make_pair( node, color )); // color not set for node, set 237 }else{ 238 if( i->second == color ) return; // color already set, ignore 239 else i->second = color; // new color, set 240 } 241 242 ostringstream out; 234 243 out << SET_NODE_COLOR_TYPE << del 235 244 << getCommandID() << del
Note:
See TracChangeset
for help on using the changeset viewer.