namespace HDK_Sample {
{
public:
{}
~DM_GreedyMouseEventHook() override { }
{
std::cout << "DM_GreedyMouseHook::handleMouseEvent ";
std::cout <<
event->state.values[
X] <<
","
<<
event->state.values[
Y] <<
" ";
std::cout << "L";
std::cout << "M";
std::cout << "R";
std::cout << "\n";
return true;
}
{
std::cout << "DM_GreedyMouseHook::handleMouseWheelEvent "
<<
event->state.values[
Z] <<
"\n";
return true;
}
{
std::cout << "DM_GreedyMouseHook::handleDoubleClickEvent ";
std::cout << "L";
std::cout << "M";
std::cout << "R";
std::cout << "\n";
return true;
}
{
return false;
}
private:
};
{
public:
{}
{
return new DM_GreedyMouseEventHook(vport);
}
{
delete hook;
}
};
}
using namespace HDK_Sample;
void
{
}