Added deprecated notices.

This commit is contained in:
Robert Osfield
2010-09-22 09:50:07 +00:00
parent 51391fc827
commit 915b38dc25

View File

@@ -20,26 +20,31 @@ namespace osgText {
typedef Font Font3D;
/** deprecated, use readFontFile() instead.*/
inline Font* readFont3DFile(const std::string& filename, const osgDB::ReaderWriter::Options* userOptions = 0)
{
return readFontFile(filename,userOptions);
}
/** deprecated, use readFontStream() instead.*/
inline Font* readFont3DStream(std::istream& stream, const osgDB::ReaderWriter::Options* userOptions = 0)
{
return readFontStream(stream, userOptions);
}
/** deprecated, use readRefFontFile() instead.*/
inline osg::ref_ptr<Font> readRefFont3DFile(const std::string& filename, const osgDB::ReaderWriter::Options* userOptions = 0)
{
return readRefFontFile(filename, userOptions);
}
/** deprecated, use readRefFontStream() instead.*/
inline osg::ref_ptr<Font> readRefFont3DStream(std::istream& stream, const osgDB::ReaderWriter::Options* userOptions = 0)
{
return readRefFontStream(stream, userOptions);
}
/** deprecated, use findFontFile() instead.*/
inline std::string findFont3DFile(const std::string& str)
{
return findFontFile(str);