17#ifdef SCL_PLATFORM_WINDOWS
32 SCL_MAKE_EVENT(MouseButton);
50 Pressed(Pressed),
X(
X),
Y(
Y), KeyCode(KeyCode) {}
70 ss <<
GetName() <<
": Pressed? - " << Pressed
71 <<
", (X, Y) - (" <<
X <<
", " <<
Y <<
"), KeyCode - " << (int)KeyCode;
79 SCL_MAKE_EVENT(MouseWheel);
91 WheelPosDelta(WheelPosDelta) {}
104 std::stringstream ss;
105 ss <<
GetName() <<
": Wheel position delta - " << WheelPosDelta;
113 SCL_MAKE_EVENT(MouseMove);
117 bool RButton, LButton, MButton;
133 bool Shift,
bool Control) :
134 X(
X),
Y(
Y), RButton(RButton), LButton(LButton), MButton(MButton),
135 Shift(Shift), Control(Control) {}
160 std::stringstream ss;
161 ss <<
GetName() <<
": (X, Y) - (" <<
X <<
", " <<
Y
162 <<
"), RButton - " << RButton <<
", LButton - " << LButton <<
", MButton - " << MButton;
virtual const char * GetName() const =0
std::string ToString() const override
mouse_move_event(int X, int Y, bool RButton, bool LButton, bool MButton, bool Shift, bool Control)
std::string ToString() const override
mouse_wheel_event(int WheelPosDelta)