mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 18:08:44 +00:00
CHANGED: CGroupHeader no longer depends on CInterfaceManager.
This commit is contained in:
parent
308fa1d0ea
commit
0532f7a01a
1 changed files with 1 additions and 7 deletions
|
@ -15,13 +15,10 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
#include "stdpch.h"
|
||||
//
|
||||
#include "interface_manager.h"
|
||||
#include "nel/gui/group_container.h"
|
||||
#include "group_header.h"
|
||||
#include "nel/gui/lua_ihm.h"
|
||||
#include "nel/gui/widget_manager.h"
|
||||
|
||||
|
||||
using namespace NLMISC;
|
||||
|
@ -240,7 +237,6 @@ public:
|
|||
{}
|
||||
void release()
|
||||
{
|
||||
CInterfaceManager *im = CInterfaceManager::getInstance();
|
||||
if (CWidgetManager::getInstance()->getCapturePointerLeft() == this)
|
||||
{
|
||||
_Moving = false;
|
||||
|
@ -257,7 +253,6 @@ public:
|
|||
}
|
||||
bool handleEvent (const NLGUI::CEventDescriptor &event)
|
||||
{
|
||||
CInterfaceManager *im = CInterfaceManager::getInstance();
|
||||
if (_Parent)
|
||||
{
|
||||
if (event.getType() == NLGUI::CEventDescriptor::system)
|
||||
|
@ -417,7 +412,6 @@ bool CGroupHeaderEntry::parse(xmlNodePtr cur, CInterfaceGroup * parentGroup)
|
|||
// *****************************************************************************************************************
|
||||
CInterfaceGroup *CGroupHeaderEntry::getTargetColumn() const
|
||||
{
|
||||
CInterfaceManager *im = CInterfaceManager::getInstance();
|
||||
return dynamic_cast<CInterfaceGroup*>(CWidgetManager::getInstance()->getElementFromId(_TargetColumnId));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue