From 435fc7c1ccb8ac965beb01e80070e9b1aa5976be Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 14 Sep 2002 23:25:44 +0000 Subject: using Texture setFromString --- src/Theme.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Theme.cc b/src/Theme.cc index 39a329d..120fffb 100644 --- a/src/Theme.cc +++ b/src/Theme.cc @@ -41,7 +41,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Theme.cc,v 1.27 2002/09/14 16:39:16 fluxgen Exp $ +// $Id: Theme.cc,v 1.28 2002/09/14 23:25:44 fluxgen Exp $ #ifndef _GNU_SOURCE #define _GNU_SOURCE @@ -748,7 +748,7 @@ bool Theme::readDatabaseTexture(char *rname, char *rclass, if (XrmGetResource(m_database, rname, rclass, &value_type, &value)) - m_imagecontrol->parseTexture(texture, value.addr); + texture->setFromString(value.addr); else texture->setType(FbTk::Texture::SOLID | FbTk::Texture::FLAT); -- cgit v0.11.2