mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 13:01:42 +00:00
When setting the Id of the decorated edit box, set the Id of the text as well.
--HG-- branch : dfighter-tools
This commit is contained in:
parent
67aa7a50d2
commit
2fe2077170
2 changed files with 8 additions and 0 deletions
|
@ -33,6 +33,8 @@ namespace NLGUI
|
||||||
|
|
||||||
void moveBy( sint32 x, sint32 y );
|
void moveBy( sint32 x, sint32 y );
|
||||||
|
|
||||||
|
void setIdRecurse( const std::string &newID );
|
||||||
|
|
||||||
std::string getProperty( const std::string &name ) const;
|
std::string getProperty( const std::string &name ) const;
|
||||||
void setProperty( const std::string &name, const std::string &value );
|
void setProperty( const std::string &name, const std::string &value );
|
||||||
xmlNodePtr serialize( xmlNodePtr parentNode, const char *type ) const;
|
xmlNodePtr serialize( xmlNodePtr parentNode, const char *type ) const;
|
||||||
|
|
|
@ -182,6 +182,12 @@ namespace NLGUI
|
||||||
_Pvt->updateCoords();
|
_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
|
std::string CGroupEditBoxDecor::getProperty( const std::string &name ) const
|
||||||
{
|
{
|
||||||
if( name == "tx_tl" )
|
if( name == "tx_tl" )
|
||||||
|
|
Loading…
Reference in a new issue