| 31 | } |
| 32 | |
| 33 | void ccNote::updateMetadata() |
| 34 | { |
| 35 | //add metadata tag defining the ccCompass class type |
| 36 | QVariantMap map; |
| 37 | map.insert("ccCompassType", "Note"); |
| 38 | setMetaData(map, true); |
| 39 | |
| 40 | //update drawing stuff |
| 41 | showNameIn3D(true); |
| 42 | setDefaultColor(ccColor::cyan); |
| 43 | setActiveColor(ccColor::red); |
| 44 | } |
| 45 | |
| 46 | //returns true if object is a lineation |
| 47 | bool ccNote::isNote(ccHObject* object) |
no test coverage detected