mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-26 02:20:54 +00:00
Update decorated edit box decoration coords while dragging.
This commit is contained in:
parent
9b8991038d
commit
50625d3e29
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