get color (#xxxxxx) property by name, returns default value if not found
| 341 | |
| 342 | /// get color (#xxxxxx) property by name, returns default value if not found |
| 343 | lUInt32 CRPropAccessor::getColorDef( const char * propName, lUInt32 defValue ) const |
| 344 | { |
| 345 | lUInt32 v = 0; |
| 346 | // CRLog::debug("getColorDef(%s), 0x%06x", propName, defValue); |
| 347 | if ( !getColor( propName, v ) ) |
| 348 | return defValue; |
| 349 | else |
| 350 | return v; |
| 351 | } |
| 352 | |
| 353 | /// set color (#xxxxxx) property by name |
| 354 | void CRPropAccessor::setColor( const char * propName, lUInt32 value ) |
no outgoing calls
no test coverage detected