From 915b38dc25be44cec2903ddbc9bb6ca03bc579fc Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 22 Sep 2010 09:50:07 +0000 Subject: [PATCH] Added deprecated notices. --- include/osgText/Font3D | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/osgText/Font3D b/include/osgText/Font3D index d3c51eabb..8d9d05a9d 100644 --- a/include/osgText/Font3D +++ b/include/osgText/Font3D @@ -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 readRefFont3DFile(const std::string& filename, const osgDB::ReaderWriter::Options* userOptions = 0) { return readRefFontFile(filename, userOptions); } +/** deprecated, use readRefFontStream() instead.*/ inline osg::ref_ptr 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);