axmol/extensions/fairygui/event/InputEvent.cpp

25 lines
403 B
C++
Raw Normal View History

2020-08-04 12:31:33 +08:00
#include "InputEvent.h"
#include "GObject.h"
NS_FGUI_BEGIN
InputEvent::InputEvent() :
_target(nullptr),
_touch(nullptr),
_inputProcessor(nullptr),
_touchId(-1),
_clickCount(0),
_mouseWheelDelta(0),
_button(axis::EventMouse::MouseButton::BUTTON_UNSET),
_keyCode(axis::EventKeyboard::KeyCode::KEY_0),
2020-08-04 12:31:33 +08:00
_keyModifiers(0)
{
}
InputEvent::~InputEvent()
{
}
NS_FGUI_END