thecaptain
28-08-2007 02:51:38
Hey KungFooMasta, there's an issue with the way that disabling and enabling widgets work.
When you disable a widget, its mFullTextureName is changed, which shouldn't happen, because you revert back to that upon enable. Disable calls setTexture, and thus _processFullTextureName with the new .disabled texture name.
Pretty easy to fix, but I wasn't sure how you wanted to structure it.
When you disable a widget, its mFullTextureName is changed, which shouldn't happen, because you revert back to that upon enable. Disable calls setTexture, and thus _processFullTextureName with the new .disabled texture name.
void Widget::_processFullTextureName(const Ogre::String& texture)
{
mFullTextureName = texture;
...
Pretty easy to fix, but I wasn't sure how you wanted to structure it.