neoGFX
Cross-platform C++ app/game engine
|
#include <drag_drop.hpp>
Public Member Functions | |
define_declared_event (DraggingObject, dragging_object, i_drag_drop_object const &) define_declared_event(DraggingCancelled | |
i_drag_drop_object const & | define_declared_event (ObjectDroppedOnTarget, object_dropped_on_target, i_drag_drop_object const &, i_drag_drop_target &) public |
~drag_drop_source () | |
bool | drag_drop_source_enabled () const final |
void | enable_drag_drop_source (bool aEnable=true) override |
bool | drag_drop_active () const final |
i_drag_drop_object const & | object_being_dragged () const final |
void | start_drag_drop (i_drag_drop_object const &aObject) final |
void | cancel_drag_drop () final |
void | end_drag_drop (i_drag_drop_target &aTarget) final |
point const & | drag_drop_tracking_position () const final |
i_ref_ptr< i_widget > const & | drag_drop_widget () const final |
void | set_drag_drop_widget (i_ref_ptr< i_widget > const &aWidget) final |
i_widget & | drag_drop_event_monitor () const final |
void | monitor_drag_drop_events (i_widget &aWidget) final |
void | stop_monitoring_drag_drop_events () final |
Public Member Functions inherited from neogfx::i_drag_drop_source | |
declare_event (dragging_object, i_drag_drop_object const &) declare_event(dragging_cancelled | |
void | enable_drag_drop_source (i_widget &aWidget) |
Public Attributes | |
dragging_cancelled | |
Protected Member Functions | |
scalar | drag_drop_trigger_distance () const |
void | set_drag_drop_trigger_distance (scalar aDistance) |
virtual bool | is_drag_drop_object (point const &aPosition) const =0 |
virtual i_drag_drop_object const * | drag_drop_object (point const &aPosition)=0 |
Definition at line 156 of file drag_drop.hpp.
|
inline |
Definition at line 169 of file drag_drop.hpp.
|
inlinefinalvirtual |
Implements neogfx::i_drag_drop_source.
Definition at line 215 of file drag_drop.hpp.
neogfx::drag_drop_source< Base >::define_declared_event | ( | DraggingObject | , |
dragging_object | , | ||
i_drag_drop_object const & | |||
) |
|
inline |
Definition at line 162 of file drag_drop.hpp.
|
inlinefinalvirtual |
Implements neogfx::i_drag_drop_source.
Definition at line 196 of file drag_drop.hpp.
|
inlinefinalvirtual |
Implements neogfx::i_drag_drop_source.
Definition at line 255 of file drag_drop.hpp.
|
protectedpure virtual |
Implemented in neogfx::item_view.
|
inlinefinalvirtual |
Implements neogfx::i_drag_drop_source.
Definition at line 174 of file drag_drop.hpp.
|
inlinefinalvirtual |
Implements neogfx::i_drag_drop_source.
Definition at line 236 of file drag_drop.hpp.
|
inlineprotected |
Definition at line 280 of file drag_drop.hpp.
|
inlinefinalvirtual |
Implements neogfx::i_drag_drop_source.
Definition at line 242 of file drag_drop.hpp.
|
inlineoverridevirtual |
Implements neogfx::i_drag_drop_source.
Reimplemented in neogfx::item_view.
Definition at line 178 of file drag_drop.hpp.
|
inlinefinalvirtual |
Implements neogfx::i_drag_drop_source.
Definition at line 225 of file drag_drop.hpp.
|
protectedpure virtual |
Implemented in neogfx::item_view.
|
inlinefinalvirtual |
Implements neogfx::i_drag_drop_source.
Definition at line 261 of file drag_drop.hpp.
|
inlinefinalvirtual |
Implements neogfx::i_drag_drop_source.
Definition at line 200 of file drag_drop.hpp.
|
inlineprotected |
Definition at line 284 of file drag_drop.hpp.
|
inlinefinalvirtual |
Implements neogfx::i_drag_drop_source.
Definition at line 246 of file drag_drop.hpp.
|
inlinefinalvirtual |
Implements neogfx::i_drag_drop_source.
Definition at line 206 of file drag_drop.hpp.
|
inlinefinalvirtual |
Implements neogfx::i_drag_drop_source.
Definition at line 274 of file drag_drop.hpp.
neogfx::drag_drop_source< Base >::dragging_cancelled |
Definition at line 161 of file drag_drop.hpp.