mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
Update decorated edit box decoration coords while dragging.
--HG-- branch : dfighter-tools
This commit is contained in:
parent
274efe6798
commit
18866c88af
2 changed files with 9 additions and 1 deletions
|
@ -31,6 +31,8 @@ namespace NLGUI
|
|||
CGroupEditBoxDecor( const TCtorParam ¶m );
|
||||
~CGroupEditBoxDecor();
|
||||
|
||||
void moveBy( sint32 x, sint32 y );
|
||||
|
||||
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;
|
||||
|
|
|
@ -150,7 +150,6 @@ namespace NLGUI
|
|||
_Textures[ BG ]->setParentPosRef( Hotspot_MM );
|
||||
_Textures[ BG ]->setScale( true );
|
||||
_Textures[ BG ]->setSizeRef( "wh" );
|
||||
_Textures[ BG ]->setRenderLayer( -1 );
|
||||
}
|
||||
|
||||
std::vector< CViewBitmap* > _Textures;
|
||||
|
@ -171,6 +170,13 @@ namespace NLGUI
|
|||
_Pvt = NULL;
|
||||
}
|
||||
|
||||
void CGroupEditBoxDecor::moveBy( sint32 x, sint32 y )
|
||||
{
|
||||
CInterfaceElement::moveBy( x, y );
|
||||
|
||||
_Pvt->updateCoords();
|
||||
}
|
||||
|
||||
std::string CGroupEditBoxDecor::getProperty( const std::string &name ) const
|
||||
{
|
||||
if( name == "tx_tl" )
|
||||
|
|
Loading…
Reference in a new issue