From 5893f791d495a863f2ea20f85fa08ed5b86adab2 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Sun, 24 Jun 2012 04:00:45 +0200 Subject: [PATCH] CHANGED: CGroupHeader no longer depends on CInterfaceManager. --HG-- branch : gui-refactoring --- code/ryzom/client/src/interface_v3/group_header.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/group_header.cpp b/code/ryzom/client/src/interface_v3/group_header.cpp index d1ac6fff6..b907595a5 100644 --- a/code/ryzom/client/src/interface_v3/group_header.cpp +++ b/code/ryzom/client/src/interface_v3/group_header.cpp @@ -15,13 +15,10 @@ // along with this program. If not, see . - -#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(CWidgetManager::getInstance()->getElementFromId(_TargetColumnId)); }