mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-02 08:15:59 +00:00
Ported changeset 9878ab4: CCtrlTextbutton checkcoords should call it's text's checkcoords method. Fix #219.
This commit is contained in:
parent
00156b1d59
commit
9a61380b37
2 changed files with 10 additions and 0 deletions
|
@ -51,6 +51,7 @@ namespace NLGUI
|
||||||
// Init part
|
// Init part
|
||||||
virtual bool parse (xmlNodePtr cur,CInterfaceGroup * parentGroup);
|
virtual bool parse (xmlNodePtr cur,CInterfaceGroup * parentGroup);
|
||||||
|
|
||||||
|
virtual void checkCoords();
|
||||||
virtual void updateCoords();
|
virtual void updateCoords();
|
||||||
|
|
||||||
virtual uint32 getMemory() { return (uint32)(sizeof(*this)+_Id.size()); }
|
virtual uint32 getMemory() { return (uint32)(sizeof(*this)+_Id.size()); }
|
||||||
|
|
|
@ -868,6 +868,15 @@ namespace NLGUI
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ***************************************************************************
|
||||||
|
void CCtrlTextButton::checkCoords()
|
||||||
|
{
|
||||||
|
if( _ViewText != NULL )
|
||||||
|
_ViewText->checkCoords();
|
||||||
|
|
||||||
|
CCtrlBaseButton::checkCoords();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
void CCtrlTextButton::updateCoords()
|
void CCtrlTextButton::updateCoords()
|
||||||
|
|
Loading…
Reference in a new issue