4#ifndef INCLUDE_FIFECHAN_EVENTS_DRAG_EVENT_HPP_
5#define INCLUDE_FIFECHAN_EVENTS_DRAG_EVENT_HPP_
9#include "fifechan/events/event.hpp"
28 enum class Type : std::uint8_t
65 int getScreenX()
const;
70 int getScreenY()
const;
103 friend class DragHandler;
Drag and drop event type container.
Type mType
The event type.
int mX
X coordinate relative to the widget.
int mY
Y coordinate relative to the widget.
int mScreenY
Y coordinate on the screen.
int mScreenX
X coordinate on the screen.
Type
Event for drag and drop actions.
DragPayload const * mPayload
The associated payload for this event.
DragEvent(Widget *source, DragPayload const *payload, Type type, int x, int y, int screenX, int screenY)
Construct a drag event.
Container for arbitrary data carried during a drag operation.
Event(Widget *source)
Constructor.
Used replacement tokens by configure_file():