mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 21:11:39 +00:00
When setting the Id of the decorated edit box, set the Id of the text as well.
This commit is contained in:
parent
f79cf8a3bc
commit
3c26e7a981
2 changed files with 8 additions and 0 deletions
|
@ -33,6 +33,8 @@ namespace NLGUI
|
|||
|
||||
void moveBy( sint32 x, sint32 y );
|
||||
|
||||
void setIdRecurse( const std::string &newID );
|
||||
|
||||
std::string getProperty( const std::string &name ) const;
|
||||
void setProperty( const std::string &name, const std::string &value );
|
||||
xmlNodePtr serialize( xmlNodePtr parentNode, const char *type ) const;
|
||||
|
|
|
@ -182,6 +182,12 @@ namespace NLGUI
|
|||
_Pvt->updateCoords();
|
||||
}
|
||||
|
||||
void CGroupEditBoxDecor::setIdRecurse( const std::string &newID )
|
||||
{
|
||||
CInterfaceElement::setIdRecurse( newID );
|
||||
_ViewText->setIdRecurse( _ViewText->getShortId() );
|
||||
}
|
||||
|
||||
std::string CGroupEditBoxDecor::getProperty( const std::string &name ) const
|
||||
{
|
||||
if( name == "tx_tl" )
|
||||
|
|
Loading…
Reference in a new issue