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

#include <drag_drop.hpp>

Inheritance diagram for neogfx::drag_drop_item:
neogfx::drag_drop_object< i_drag_drop_item > neogfx::i_drag_drop_item neogfx::i_drag_drop_object

Public Member Functions

 drag_drop_item (i_drag_drop_source &aSource, i_item_presentation_model const &aPresentationModel, item_presentation_model_index const &aItem)
 
i_item_presentation_model const & presentation_model () const final
 
item_presentation_model_index const & index () const final
 
bool can_render () const final
 
size render_extents () const final
 
void render (i_graphics_context &aGc, point const &aPosition={}) const final
 
- Public Member Functions inherited from neogfx::drag_drop_object< i_drag_drop_item >
 drag_drop_object (i_drag_drop_source &aSource, drag_drop_object_type_id aType=object_interface::otid())
 
i_drag_drop_sourcesource () const final
 
drag_drop_object_type_id ddo_type () const final
 
bool can_render () const override
 
size render_extents () const override
 
void render (i_graphics_context &aGc, point const &aPosition={}) const override
 
- Public Member Functions inherited from neogfx::i_drag_drop_object
virtual ~i_drag_drop_object ()=default
 

Additional Inherited Members

- Public Types inherited from neogfx::drag_drop_object< i_drag_drop_item >
typedef i_drag_drop_item object_interface
 
- Static Public Member Functions inherited from neogfx::i_drag_drop_item
static const drag_drop_object_type_id otid ()
 
- Static Public Member Functions inherited from neogfx::i_drag_drop_object
static const drag_drop_object_type_id otid ()
 

Detailed Description

Definition at line 86 of file drag_drop.hpp.

Constructor & Destructor Documentation

◆ drag_drop_item()

neogfx::drag_drop_item::drag_drop_item ( i_drag_drop_source aSource,
i_item_presentation_model const &  aPresentationModel,
item_presentation_model_index const &  aItem 
)
inline

Definition at line 90 of file drag_drop.hpp.

Member Function Documentation

◆ can_render()

bool neogfx::drag_drop_item::can_render ( ) const
inlinefinalvirtual

Implements neogfx::i_drag_drop_object.

Definition at line 106 of file drag_drop.hpp.

◆ index()

item_presentation_model_index const & neogfx::drag_drop_item::index ( ) const
inlinefinalvirtual

Implements neogfx::i_drag_drop_item.

Definition at line 101 of file drag_drop.hpp.

◆ presentation_model()

i_item_presentation_model const & neogfx::drag_drop_item::presentation_model ( ) const
inlinefinalvirtual

Implements neogfx::i_drag_drop_item.

Definition at line 97 of file drag_drop.hpp.

◆ render()

void neogfx::drag_drop_item::render ( i_graphics_context aGc,
point const &  aPosition = {} 
) const
inlinefinalvirtual

Implements neogfx::i_drag_drop_object.

Definition at line 120 of file drag_drop.hpp.

◆ render_extents()

size neogfx::drag_drop_item::render_extents ( ) const
inlinefinalvirtual

Implements neogfx::i_drag_drop_object.

Definition at line 113 of file drag_drop.hpp.


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