Foundation > Graphic Resources > IlvResource: The Resource Object Base Class > Named Resources
 
Named Resources
You can assign specific names to resources by using the IlvResource member functions:
void setName(const char* name);
const char* getName() const;
Note: IlvFont and IlvColor make private use of their name field, so these classes restrict the use of IlvResource::setName. IlvFont disables the use of IlvResource::setName, and IlvColor only allows the renaming of mutable colors. Non-mutable colors either have a predefined name or get a default name based on their RGB values.

Version 6.0
Copyright © 2015, Rogue Wave Software, Inc. All Rights Reserved.