mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-28 20:00:54 +00:00
CHANGED: CGroupHeader no longer depends on CInterfaceManager.
This commit is contained in:
parent
4591146804
commit
7373e9990e
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/>.
|
// 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 "nel/gui/group_container.h"
|
||||||
#include "group_header.h"
|
#include "group_header.h"
|
||||||
#include "nel/gui/lua_ihm.h"
|
#include "nel/gui/lua_ihm.h"
|
||||||
|
#include "nel/gui/widget_manager.h"
|
||||||
|
|
||||||
|
|
||||||
using namespace NLMISC;
|
using namespace NLMISC;
|
||||||
|
@ -240,7 +237,6 @@ public:
|
||||||
{}
|
{}
|
||||||
void release()
|
void release()
|
||||||
{
|
{
|
||||||
CInterfaceManager *im = CInterfaceManager::getInstance();
|
|
||||||
if (CWidgetManager::getInstance()->getCapturePointerLeft() == this)
|
if (CWidgetManager::getInstance()->getCapturePointerLeft() == this)
|
||||||
{
|
{
|
||||||
_Moving = false;
|
_Moving = false;
|
||||||
|
@ -257,7 +253,6 @@ public:
|
||||||
}
|
}
|
||||||
bool handleEvent (const NLGUI::CEventDescriptor &event)
|
bool handleEvent (const NLGUI::CEventDescriptor &event)
|
||||||
{
|
{
|
||||||
CInterfaceManager *im = CInterfaceManager::getInstance();
|
|
||||||
if (_Parent)
|
if (_Parent)
|
||||||
{
|
{
|
||||||
if (event.getType() == NLGUI::CEventDescriptor::system)
|
if (event.getType() == NLGUI::CEventDescriptor::system)
|
||||||
|
@ -417,7 +412,6 @@ bool CGroupHeaderEntry::parse(xmlNodePtr cur, CInterfaceGroup * parentGroup)
|
||||||
// *****************************************************************************************************************
|
// *****************************************************************************************************************
|
||||||
CInterfaceGroup *CGroupHeaderEntry::getTargetColumn() const
|
CInterfaceGroup *CGroupHeaderEntry::getTargetColumn() const
|
||||||
{
|
{
|
||||||
CInterfaceManager *im = CInterfaceManager::getInstance();
|
|
||||||
return dynamic_cast<CInterfaceGroup*>(CWidgetManager::getInstance()->getElementFromId(_TargetColumnId));
|
return dynamic_cast<CInterfaceGroup*>(CWidgetManager::getInstance()->getElementFromId(_TargetColumnId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue