|
|
@ -311,7 +311,7 @@ namespace NLGUI
|
|
|
|
prop = (char*) xmlGetProp( cur, (xmlChar*)"texture" );
|
|
|
|
prop = (char*) xmlGetProp( cur, (xmlChar*)"texture" );
|
|
|
|
if (prop)
|
|
|
|
if (prop)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
string TxName = toLower((const char *) prop);
|
|
|
|
string TxName = (const char *) prop;
|
|
|
|
setTexture (TxName);
|
|
|
|
setTexture (TxName);
|
|
|
|
//CInterfaceManager *pIM = CInterfaceManager::getInstance();
|
|
|
|
//CInterfaceManager *pIM = CInterfaceManager::getInstance();
|
|
|
|
//CViewRenderer &rVR = *CViewRenderer::getInstance();
|
|
|
|
//CViewRenderer &rVR = *CViewRenderer::getInstance();
|
|
|
@ -465,7 +465,7 @@ namespace NLGUI
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
_TextureId.setTexture (TxName.c_str (), _TxtOffsetX, _TxtOffsetY, _TxtWidth, _TxtHeight, false);
|
|
|
|
_TextureId.setTexture (toLower(TxName).c_str (), _TxtOffsetX, _TxtOffsetY, _TxtWidth, _TxtHeight, false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|