|
|
@ -863,10 +863,6 @@ namespace NLGUI
|
|
|
|
if(getFrozen() && getFrozenHalfTone())
|
|
|
|
if(getFrozen() && getFrozenHalfTone())
|
|
|
|
_ViewText->setAlpha(_ViewText->getAlpha()>>2);
|
|
|
|
_ViewText->setAlpha(_ViewText->getAlpha()>>2);
|
|
|
|
|
|
|
|
|
|
|
|
// When dragging the button, the text needs to move too
|
|
|
|
|
|
|
|
if( CInterfaceElement::editorMode )
|
|
|
|
|
|
|
|
_ViewText->updateCoords();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_ViewText->draw();
|
|
|
|
_ViewText->draw();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1017,5 +1013,13 @@ namespace NLGUI
|
|
|
|
void CCtrlTextButton::onWidgetDeleted( CInterfaceElement *e )
|
|
|
|
void CCtrlTextButton::onWidgetDeleted( CInterfaceElement *e )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void CCtrlTextButton::moveBy( sint32 x, sint32 y )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
CInterfaceElement::moveBy( x, y );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( _ViewText != NULL )
|
|
|
|
|
|
|
|
_ViewText->updateCoords();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|