5#include "fifechan/events/dragevent.hpp"
11#include "fifechan/platform.hpp"
20 "Type must be valid" && (type == Type::Enter || type == Type::Leave || type == Type::Hover ||
21 type == Type::Drop || type == Type::Cancel));
Type mType
The event type.
int mX
X coordinate relative to the widget.
int getScreenY() const
Get the Y coordinate on the screen.
int mY
Y coordinate relative to the widget.
int mScreenY
Y coordinate on the screen.
Type getType() const
Get the event type.
int mScreenX
X coordinate on the screen.
DragPayload const * getPayload() const
Get the payload for this event.
Type
Event for drag and drop actions.
int getX() const
Get the X coordinate relative to the widget.
DragPayload const * mPayload
The associated payload for this event.
int getY() const
Get the Y coordinate relative to the widget.
DragEvent(Widget *source, DragPayload const *payload, Type type, int x, int y, int screenX, int screenY)
Construct a drag event.
int getScreenX() const
Get the X coordinate on the screen.
Container for arbitrary data carried during a drag operation.
Event(Widget *source)
Constructor.
Used replacement tokens by configure_file():