axmol/extensions/fairygui/event/InputEvent.cpp

25 lines
399 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),
2022-08-08 18:02:17 +08:00
_button(ax::EventMouse::MouseButton::BUTTON_UNSET),
_keyCode(ax::EventKeyboard::KeyCode::KEY_0),
2020-08-04 12:31:33 +08:00
_keyModifiers(0)
{
}
InputEvent::~InputEvent()
{
}
NS_FGUI_END