Updates to the new osgtext example and fix to the friend usage.

This commit is contained in:
Robert Osfield
2003-03-04 17:14:42 +00:00
parent 55c25a551b
commit ba9fbd371f
4 changed files with 160 additions and 11 deletions

View File

@@ -69,7 +69,7 @@ public:
virtual bool hasVertical() const = 0;
// make Text a friend to allow it add and remove its entry in the Font's _textList.
friend Text;
friend class Text;
protected:

View File

@@ -184,7 +184,7 @@ public:
// make Font a friend to allow it set the _font to 0 if the font is
// forcefully unloaded.
friend Font;
friend class Font;
protected: