Changeset 6900 for source/ariba/utility
- Timestamp:
- Nov 10, 2009, 7:58:56 PM (15 years ago)
- Location:
- source/ariba/utility/visual
- Files:
-
- 2 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 -
source/ariba/utility/visual/DddVis.h
r6822 r6900 217 217 NetworkLinks networkLinks; 218 218 219 NodeSet colorSet; 219 220 220 221 };
Note:
See TracChangeset
for help on using the changeset viewer.