CHANGED: #1471 CGroupMenu's previously unnamed children will now be named properly.
This commit is contained in:
parent
8f2932fb90
commit
66f6979be7
1 changed files with 3 additions and 0 deletions
|
@ -214,6 +214,7 @@ namespace NLGUI
|
||||||
_SelectionView = new CViewBitmap(CViewBase::TCtorParam());
|
_SelectionView = new CViewBitmap(CViewBase::TCtorParam());
|
||||||
// CInterfaceManager *pIM = CInterfaceManager::getInstance();
|
// CInterfaceManager *pIM = CInterfaceManager::getInstance();
|
||||||
// CViewRenderer &rVR = *CViewRenderer::getInstance();
|
// CViewRenderer &rVR = *CViewRenderer::getInstance();
|
||||||
|
_SelectionView->setId( getId() + ":selection" );
|
||||||
_SelectionView->setParent (this);
|
_SelectionView->setParent (this);
|
||||||
_SelectionView->setActive (false);
|
_SelectionView->setActive (false);
|
||||||
_SelectionView->setTexture ("blank.tga");
|
_SelectionView->setTexture ("blank.tga");
|
||||||
|
@ -228,6 +229,7 @@ namespace NLGUI
|
||||||
if (_GroupList == NULL)
|
if (_GroupList == NULL)
|
||||||
{
|
{
|
||||||
_GroupList = new CGroupList(CViewBase::TCtorParam());
|
_GroupList = new CGroupList(CViewBase::TCtorParam());
|
||||||
|
_GroupList->setId( getId() + ":list" );
|
||||||
_GroupList->setParent (this);
|
_GroupList->setParent (this);
|
||||||
_GroupList->setParentPos (this);
|
_GroupList->setParentPos (this);
|
||||||
_GroupList->setX (4);
|
_GroupList->setX (4);
|
||||||
|
@ -2273,6 +2275,7 @@ namespace NLGUI
|
||||||
cur = in->children;
|
cur = in->children;
|
||||||
if (_RootMenu != NULL) delete _RootMenu;
|
if (_RootMenu != NULL) delete _RootMenu;
|
||||||
_RootMenu = new CGroupSubMenu(CViewText::TCtorParam());
|
_RootMenu = new CGroupSubMenu(CViewText::TCtorParam());
|
||||||
|
_RootMenu->setId( getId() + ":header" );
|
||||||
_RootMenu->setSerializable( false );
|
_RootMenu->setSerializable( false );
|
||||||
_RootMenu->_GroupMenu = this;
|
_RootMenu->_GroupMenu = this;
|
||||||
_RootMenu->parse (cur);
|
_RootMenu->parse (cur);
|
||||||
|
|
Loading…
Reference in a new issue