diff --git a/include/osgText/Text b/include/osgText/Text index bae09229d..e9f141f7e 100644 --- a/include/osgText/Text +++ b/include/osgText/Text @@ -39,20 +39,18 @@ public: void setColor(const osg::Vec4& color); - const osg::Vec4& getColor() const { return _color; } - /** * Turns off writing to the depth buffer when rendering text. This only affects text * with no backdrop or text using the DELAYED_DEPTH_WRITES implementation, since * the other backdrop implementations are really only useful for backwards * compatibility and are not worth updating to utilize this flag. */ - bool setEnableDepthWrites() { return _enableDepthWrites; } - void setEnableDepthWrites(bool enable) { _enableDepthWrites = enable; } + bool getEnableDepthWrites() const { return _enableDepthWrites; } + enum BackdropType {