From Serge Lages, introduce readRef*File() methods which pass back ref_ptr<> rather than C pointers.

This commit is contained in:
Robert Osfield
2007-12-12 17:04:48 +00:00
parent 88f3a864ac
commit 256391c3b4
10 changed files with 248 additions and 8 deletions

View File

@@ -86,7 +86,7 @@ void Text::setFont(Font* font)
void Text::setFont(const std::string& fontfile)
{
setFont(readFontFile(fontfile));
setFont(readRefFontFile(fontfile).get());
}