mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Update decorated edit box decoration coords while dragging.
This commit is contained in:
parent
28d2b27ac6
commit
ea42036580
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