![]() |
Gorgon Game Engine
|
Event handling | |
void | SetOver (std::function< bool(DragSource &, DragInfo &)> fn) |
Sets over function. More... | |
void | SetOver (std::function< bool(DragInfo &)> fn) |
Sets over function. More... | |
template<class C_ > | |
void | SetOver (C_ &c, bool(C_::*fn)(DragSource &, DragInfo &)) |
Sets over function. More... | |
template<class C_ > | |
void | SetOver (C_ &c, bool(C_::*fn)(DragInfo &)) |
Sets over function. More... | |
template<class C_ > | |
void | SetOver (C_ *my, bool(C_::*fn)(DragSource &, DragInfo &)) |
Sets over function. More... | |
template<class C_ > | |
void | SetOver (C_ *my, bool(C_::*fn)(DragInfo &)) |
Sets over function. More... | |
void | ResetOver () |
Removes over handler, default action for over is to return true. More... | |
void | SetOut (std::function< void(DragSource &, DragInfo &)> fn) |
Sets out function. More... | |
void | SetOut (std::function< void(DragInfo &)> fn) |
Sets out function. More... | |
template<class C_ > | |
void | SetOut (C_ &c, void(C_::*fn)(DragSource &, DragInfo &)) |
Sets out function. More... | |
template<class C_ > | |
void | SetOut (C_ &c, void(C_::*fn)(DragInfo &)) |
Sets out function. More... | |
template<class C_ > | |
void | SetOut (C_ *my, void(C_::*fn)(DragSource &, DragInfo &)) |
Sets out function. More... | |
template<class C_ > | |
void | SetOut (C_ *my, void(C_::*fn)(DragInfo &)) |
Sets out function. More... | |
void | ResetOut () |
Removes out handler. More... | |
void | SetMove (std::function< void(DragSource &, DragInfo &, Geometry::Point)> fn) |
Sets move handler. If set, called continuously until the drag operation is complete. More... | |
void | SetMove (std::function< void(DragInfo &, Geometry::Point)> fn) |
Sets move handler. If set, called continuously until the drag operation is complete. More... | |
template<class C_ > | |
void | SetMove (C_ &c, void(C_::*fn)(DragSource &, DragInfo &, Geometry::Point)) |
Sets move handler. More... | |
template<class C_ > | |
void | SetMove (C_ &c, void(C_::*fn)(DragInfo &, Geometry::Point)) |
Sets move handler. More... | |
template<class C_ > | |
void | SetMove (C_ *my, void(C_::*fn)(DragSource &, DragInfo &, Geometry::Point)) |
Sets move handler. More... | |
template<class C_ > | |
void | SetMove (C_ *my, void(C_::*fn)(DragInfo &, Geometry::Point)) |
Sets move handler. More... | |
void | SetMove (std::function< void(DragSource &, DragInfo &)> fn) |
Sets move handler. If set, called continuously until the drag operation is complete. More... | |
void | SetMove (std::function< void(DragInfo &)> fn) |
Sets move handler. If set, called continuously until the drag operation is complete. More... | |
template<class C_ > | |
void | SetMove (C_ &c, void(C_::*fn)(DragSource &, DragInfo &)) |
Sets move handler. More... | |
template<class C_ > | |
void | SetMove (C_ &c, void(C_::*fn)(DragInfo &)) |
Sets move handler. More... | |
template<class C_ > | |
void | SetMove (C_ *my, void(C_::*fn)(DragSource &, DragInfo &)) |
Sets move handler. More... | |
template<class C_ > | |
void | SetMove (C_ *my, void(C_::*fn)(DragInfo &)) |
Sets move handler. More... | |
void | ResetMove () |
Removes move handler, default is to continue the drag operation. More... | |
void | SetAccept (std::function< void(DragSource &, DragInfo &)> fn) |
Sets accept function. If set, called whenever drag operation is accepted. More... | |
void | SetAccept (std::function< void(DragInfo &)> fn) |
Sets accept function. If set, called whenever drag operation is accepted. More... | |
template<class C_ > | |
void | SetAccept (C_ &c, void(C_::*fn)(DragSource &, DragInfo &)) |
Sets accept function. More... | |
template<class C_ > | |
void | SetAccept (C_ &c, void(C_::*fn)(DragInfo &)) |
Sets accept function. More... | |
template<class C_ > | |
void | SetAccept (C_ *my, void(C_::*fn)(DragSource &, DragInfo &)) |
Sets accept function. More... | |
template<class C_ > | |
void | SetAccept (C_ *my, void(C_::*fn)(DragInfo &)) |
Sets accept function. More... | |
void | ResetAccept () |
Removes accept handler. More... | |
void | SetCancel (std::function< void(DragSource &, DragInfo &)> fn) |
Sets accept function. If set, called whenever drag operation is canceled. More... | |
void | SetCancel (std::function< void(DragInfo &)> fn) |
Sets accept function. If set, called whenever drag operation is canceled. More... | |
template<class C_ > | |
void | SetCancel (C_ &c, void(C_::*fn)(DragSource &, DragInfo &)) |
Sets accept function. More... | |
template<class C_ > | |
void | SetCancel (C_ &c, void(C_::*fn)(DragInfo &)) |
Sets accept function. More... | |
template<class C_ > | |
void | SetCancel (C_ *my, void(C_::*fn)(DragSource &, DragInfo &)) |
Sets accept function. More... | |
template<class C_ > | |
void | SetCancel (C_ *my, void(C_::*fn)(DragInfo &)) |
Sets accept function. More... | |
void | ResetCancel () |
Removes cancel handler. More... | |
void ResetAccept | ( | ) |
Removes accept handler.
void ResetCancel | ( | ) |
Removes cancel handler.
void ResetMove | ( | ) |
Removes move handler, default is to continue the drag operation.
void ResetOut | ( | ) |
Removes out handler.
void ResetOver | ( | ) |
Removes over handler, default action for over is to return true.
void SetAccept | ( | C_ & | c, |
void(C_::*)(DragInfo &) | fn | ||
) |
Sets accept function.
If set, called whenever drag operation is accepted. This variant accepts class member function.
void SetAccept | ( | C_ & | c, |
void(C_::*)(DragSource &, DragInfo &) | fn | ||
) |
Sets accept function.
If set, called whenever drag operation is accepted. This variant accepts class member function.
void SetAccept | ( | C_ * | my, |
void(C_::*)(DragInfo &) | fn | ||
) |
Sets accept function.
If set, called whenever drag operation is accepted. This variant accepts class member function.
void SetAccept | ( | C_ * | my, |
void(C_::*)(DragSource &, DragInfo &) | fn | ||
) |
Sets accept function.
If set, called whenever drag operation is accepted. This variant accepts class member function.
void SetAccept | ( | std::function< void(DragInfo &)> | fn | ) |
Sets accept function. If set, called whenever drag operation is accepted.
void SetAccept | ( | std::function< void(DragSource &, DragInfo &)> | fn | ) |
Sets accept function. If set, called whenever drag operation is accepted.
void SetCancel | ( | C_ & | c, |
void(C_::*)(DragInfo &) | fn | ||
) |
Sets accept function.
If set, called whenever drag operation is canceled. This variant accepts class member function.
void SetCancel | ( | C_ & | c, |
void(C_::*)(DragSource &, DragInfo &) | fn | ||
) |
Sets accept function.
If set, called whenever drag operation is canceled. This variant accepts class member function.
void SetCancel | ( | C_ * | my, |
void(C_::*)(DragInfo &) | fn | ||
) |
Sets accept function.
If set, called whenever drag operation is canceled. This variant accepts class member function.
void SetCancel | ( | C_ * | my, |
void(C_::*)(DragSource &, DragInfo &) | fn | ||
) |
Sets accept function.
If set, called whenever drag operation is canceled. This variant accepts class member function.
void SetCancel | ( | std::function< void(DragInfo &)> | fn | ) |
Sets accept function. If set, called whenever drag operation is canceled.
void SetCancel | ( | std::function< void(DragSource &, DragInfo &)> | fn | ) |
Sets accept function. If set, called whenever drag operation is canceled.
void SetMove | ( | C_ & | c, |
void(C_::*)(DragInfo &) | fn | ||
) |
Sets move handler.
If set, called continuously until the drag operation is complete. This variant accepts class member function.
void SetMove | ( | C_ & | c, |
void(C_::*)(DragInfo &, Geometry::Point) | fn | ||
) |
Sets move handler.
If set, called continuously until the drag operation is complete. This variant accepts class member function.
void SetMove | ( | C_ & | c, |
void(C_::*)(DragSource &, DragInfo &) | fn | ||
) |
Sets move handler.
If set, called continuously until the drag operation is complete. This variant accepts class member function.
void SetMove | ( | C_ & | c, |
void(C_::*)(DragSource &, DragInfo &, Geometry::Point) | fn | ||
) |
Sets move handler.
If set, called continuously until the drag operation is complete. This variant accepts class member function.
void SetMove | ( | C_ * | my, |
void(C_::*)(DragInfo &) | fn | ||
) |
Sets move handler.
If set, called continuously until the drag operation is complete. This variant accepts class member function.
void SetMove | ( | C_ * | my, |
void(C_::*)(DragInfo &, Geometry::Point) | fn | ||
) |
Sets move handler.
If set, called continuously until the drag operation is complete. This variant accepts class member function.
void SetMove | ( | C_ * | my, |
void(C_::*)(DragSource &, DragInfo &) | fn | ||
) |
Sets move handler.
If set, called continuously until the drag operation is complete. This variant accepts class member function.
void SetMove | ( | C_ * | my, |
void(C_::*)(DragSource &, DragInfo &, Geometry::Point) | fn | ||
) |
Sets move handler.
If set, called continuously until the drag operation is complete. This variant accepts class member function.
void SetMove | ( | std::function< void(DragInfo &)> | fn | ) |
Sets move handler. If set, called continuously until the drag operation is complete.
void SetMove | ( | std::function< void(DragInfo &, Geometry::Point)> | fn | ) |
Sets move handler. If set, called continuously until the drag operation is complete.
void SetMove | ( | std::function< void(DragSource &, DragInfo &)> | fn | ) |
Sets move handler. If set, called continuously until the drag operation is complete.
void SetMove | ( | std::function< void(DragSource &, DragInfo &, Geometry::Point)> | fn | ) |
Sets move handler. If set, called continuously until the drag operation is complete.
void SetOut | ( | C_ & | c, |
void(C_::*)(DragInfo &) | fn | ||
) |
Sets out function.
If set, called whenever an object is dragged out of the layer that accepted over event. This variant accepts class member function.
void SetOut | ( | C_ & | c, |
void(C_::*)(DragSource &, DragInfo &) | fn | ||
) |
Sets out function.
If set, called whenever an object is dragged out of the layer that accepted over event. This variant accepts class member function.
void SetOut | ( | C_ * | my, |
void(C_::*)(DragInfo &) | fn | ||
) |
Sets out function.
If set, called whenever an object is dragged out of the layer that accepted over event. This variant accepts class member function.
void SetOut | ( | C_ * | my, |
void(C_::*)(DragSource &, DragInfo &) | fn | ||
) |
Sets out function.
If set, called whenever an object is dragged out of the layer that accepted over event. This variant accepts class member function.
void SetOut | ( | std::function< void(DragInfo &)> | fn | ) |
Sets out function.
If set, called whenever an object is dragged out of the layer that accepted over event.
void SetOut | ( | std::function< void(DragSource &, DragInfo &)> | fn | ) |
Sets out function.
If set, called whenever an object is dragged out of the layer that accepted over event.
void SetOver | ( | C_ & | c, |
bool(C_::*)(DragInfo &) | fn | ||
) |
Sets over function.
If set, called whenever an object is dragged over to a target and the target accepts over event. This variant accepts class member function.
void SetOver | ( | C_ & | c, |
bool(C_::*)(DragSource &, DragInfo &) | fn | ||
) |
Sets over function.
If set, called whenever an object is dragged over to a target and the target accepts over event. This variant accepts class member function.
void SetOver | ( | C_ * | my, |
bool(C_::*)(DragInfo &) | fn | ||
) |
Sets over function.
If set, called whenever an object is dragged over to a target and the target accepts over event. This variant accepts class member function.
void SetOver | ( | C_ * | my, |
bool(C_::*)(DragSource &, DragInfo &) | fn | ||
) |
Sets over function.
If set, called whenever an object is dragged over to a target and the target accepts over event. This variant accepts class member function.
void SetOver | ( | std::function< bool(DragInfo &)> | fn | ) |
Sets over function.
If set, called whenever an object is dragged over to a target and the target accepts over event.
void SetOver | ( | std::function< bool(DragSource &, DragInfo &)> | fn | ) |
Sets over function.
If set, called whenever an object is dragged over to a target and the target accepts over event.