neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::i_drag_drop_target Class Referenceabstract

#include <i_drag_drop.hpp>

Inheritance diagram for neogfx::i_drag_drop_target:
neogfx::drag_drop_target< drag_drop_source< framed_scrollable_widget > > neogfx::drag_drop_target< framed_scrollable_widget > neogfx::drag_drop_target< Base > neogfx::item_view neogfx::mvc::view_stack neogfx::list_view neogfx::table_view neogfx::drop_list_view neogfx::tree_view

Public Member Functions

 declare_event (object_acceptable, i_drag_drop_object const &, optional_point const &, drop_operation &) declare_event(object_dropped
 
virtual ~i_drag_drop_target ()=default
 
virtual bool drag_drop_target_enabled () const =0
 
virtual void enable_drag_drop_target (bool aEnable=true)=0
 
virtual bool can_accept (i_drag_drop_object const &aObject, optional_point const &aDropPosition={}) const =0
 
virtual drop_operation accepted_as (i_drag_drop_object const &aObject, optional_point const &aDropPosition={}) const =0
 
virtual bool accept (i_drag_drop_object const &aObject, optional_point const &aDropPosition={})=0
 
virtual bool is_widget () const =0
 
virtual i_widget const & as_widget () const =0
 
virtual i_widgetas_widget ()=0
 

Detailed Description

Definition at line 142 of file i_drag_drop.hpp.

Constructor & Destructor Documentation

◆ ~i_drag_drop_target()

virtual neogfx::i_drag_drop_target::~i_drag_drop_target ( )
virtualdefault

Member Function Documentation

◆ accept()

virtual bool neogfx::i_drag_drop_target::accept ( i_drag_drop_object const &  aObject,
optional_point const &  aDropPosition = {} 
)
pure virtual

◆ accepted_as()

virtual drop_operation neogfx::i_drag_drop_target::accepted_as ( i_drag_drop_object const &  aObject,
optional_point const &  aDropPosition = {} 
) const
pure virtual

◆ as_widget() [1/2]

◆ as_widget() [2/2]

◆ can_accept()

virtual bool neogfx::i_drag_drop_target::can_accept ( i_drag_drop_object const &  aObject,
optional_point const &  aDropPosition = {} 
) const
pure virtual

◆ declare_event()

neogfx::i_drag_drop_target::declare_event ( object_acceptable  ,
i_drag_drop_object const &  ,
optional_point const &  ,
drop_operation  
)

◆ drag_drop_target_enabled()

virtual bool neogfx::i_drag_drop_target::drag_drop_target_enabled ( ) const
pure virtual

◆ enable_drag_drop_target()

virtual void neogfx::i_drag_drop_target::enable_drag_drop_target ( bool  aEnable = true)
pure virtual

◆ is_widget()


The documentation for this class was generated from the following file: