mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 07:36:16 +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
c96c030b25
commit
3193ab11de
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