5#include "fifechan/mouseevent.hpp"
7#include "fifechan/inputevent.hpp"
int getClickCount() const
Gets the number of clicks generated with the same button.
int getX() const
Gets the x coordinate of the mouse event.
int mClickCount
The number of clicks generated with the same button.
MouseEvent::Button mButton
Holds the button of the mouse event.
MouseEvent::Type getType() const
Gets the type of the event.
Button
Mouse button types.
int mY
Holds the y-coordinate of the mouse event.
MouseEvent::Type mType
Holds the type of the mouse event.
int getY() const
Gets the y coordinate of the mouse event.
MouseEvent::Button getButton() const
Gets the button of the mouse event.
MouseEvent(Widget *source, Widget *distributor, bool isShiftPressed, bool isControlPressed, bool isAltPressed, bool isMetaPressed, MouseEvent::Type type, MouseEvent::Button button, int x, int y, int clickCount)
Constructor.
int mX
Holds the x-coordinate of the mouse event.