mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 13:01:42 +00:00
Posref changes in the editor should apply...
--HG-- branch : dfighter-tools
This commit is contained in:
parent
2603ad3a2b
commit
86007c9156
2 changed files with 4 additions and 2 deletions
|
@ -226,13 +226,13 @@ namespace NLGUI
|
||||||
else
|
else
|
||||||
if( name == "posref" )
|
if( name == "posref" )
|
||||||
{
|
{
|
||||||
convertHotSpot( value.c_str() );
|
_PosRef = convertHotSpot( value.c_str() );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if( name == "parentposref" )
|
if( name == "parentposref" )
|
||||||
{
|
{
|
||||||
convertHotSpot( value.c_str() );
|
_ParentPosRef = convertHotSpot( value.c_str() );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if( name == "sizeref" )
|
if( name == "sizeref" )
|
||||||
|
|
|
@ -2683,6 +2683,8 @@ namespace NLGUI
|
||||||
e->setParentSize( g );
|
e->setParentSize( g );
|
||||||
g->addElement( e );
|
g->addElement( e );
|
||||||
|
|
||||||
|
//e->setName( "==MARKED==" );
|
||||||
|
|
||||||
draggedElement = NULL;
|
draggedElement = NULL;
|
||||||
|
|
||||||
onWidgetMoved( oldid, e->getId() );
|
onWidgetMoved( oldid, e->getId() );
|
||||||
|
|
Loading…
Reference in a new issue