neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::drag_drop_object< DragDropObjectInterface > Class Template Reference

#include <drag_drop.hpp>

Inheritance diagram for neogfx::drag_drop_object< DragDropObjectInterface >:

Public Types

typedef DragDropObjectInterface object_interface
 

Public Member Functions

 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
 

Detailed Description

template<typename DragDropObjectInterface>
class neogfx::drag_drop_object< DragDropObjectInterface >

Definition at line 30 of file drag_drop.hpp.

Member Typedef Documentation

◆ object_interface

template<typename DragDropObjectInterface >
typedef DragDropObjectInterface neogfx::drag_drop_object< DragDropObjectInterface >::object_interface

Definition at line 34 of file drag_drop.hpp.

Constructor & Destructor Documentation

◆ drag_drop_object()

template<typename DragDropObjectInterface >
neogfx::drag_drop_object< DragDropObjectInterface >::drag_drop_object ( i_drag_drop_source aSource,
drag_drop_object_type_id  aType = object_interface::otid() 
)
inline

Definition at line 36 of file drag_drop.hpp.

Member Function Documentation

◆ can_render()

template<typename DragDropObjectInterface >
bool neogfx::drag_drop_object< DragDropObjectInterface >::can_render ( ) const
inlineoverride

Definition at line 51 of file drag_drop.hpp.

◆ ddo_type()

template<typename DragDropObjectInterface >
drag_drop_object_type_id neogfx::drag_drop_object< DragDropObjectInterface >::ddo_type ( ) const
inlinefinal

Definition at line 46 of file drag_drop.hpp.

◆ render()

template<typename DragDropObjectInterface >
void neogfx::drag_drop_object< DragDropObjectInterface >::render ( i_graphics_context aGc,
point const &  aPosition = {} 
) const
inlineoverride

Definition at line 59 of file drag_drop.hpp.

◆ render_extents()

template<typename DragDropObjectInterface >
size neogfx::drag_drop_object< DragDropObjectInterface >::render_extents ( ) const
inlineoverride

Definition at line 55 of file drag_drop.hpp.

◆ source()

template<typename DragDropObjectInterface >
i_drag_drop_source & neogfx::drag_drop_object< DragDropObjectInterface >::source ( ) const
inlinefinal

Definition at line 42 of file drag_drop.hpp.


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