DYTSrouce/src/scene/ui/CompositeHandle.cpp

25 lines
521 B
C++
Raw Normal View History

2025-01-12 17:35:51 +00:00
#include "CompositeHandle.h"
#include "CompositeWidgetManager.h"
#include <iostream>
2025-03-13 00:42:41 +00:00
CompositeHandle::CompositeHandle(CompositeWidgetManager* cw)
: _cw(cw),
_operate(cw->GetcanvasO()),
_N(cw->GetcanvasN()),
_light(cw->GetcanvasFX()),
_background(cw->GetcanvasBackGround()),
_num(0),
_move(false)
2025-01-12 17:35:51 +00:00
{
}
bool CompositeHandle::handle(const osgGA::GUIEventAdapter&ea, osgGA::GUIActionAdapter& aa)
{
2025-03-13 00:42:41 +00:00
if (ea.getEventType() == osgGA::GUIEventAdapter::FRAME) {
2025-01-12 17:35:51 +00:00
}
2025-03-13 00:42:41 +00:00
// compass_->update_();
2025-01-12 17:35:51 +00:00
return false;
}