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

#include <drag_drop.hpp>

Inheritance diagram for neogfx::drag_drop_entity:
neogfx::drag_drop_object< i_drag_drop_entity > neogfx::i_drag_drop_entity neogfx::i_drag_drop_object

Public Member Functions

 drag_drop_entity (i_drag_drop_source &aSource, game::i_ecs const &aEcs, game::entity_id aEntity)
 
game::i_ecs const & ecs () const final
 
game::entity_id entity () const final
 
- Public Member Functions inherited from neogfx::drag_drop_object< i_drag_drop_entity >
 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_entity >
typedef i_drag_drop_entity object_interface
 
- Static Public Member Functions inherited from neogfx::i_drag_drop_entity
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 129 of file drag_drop.hpp.

Constructor & Destructor Documentation

◆ drag_drop_entity()

neogfx::drag_drop_entity::drag_drop_entity ( i_drag_drop_source aSource,
game::i_ecs const &  aEcs,
game::entity_id  aEntity 
)
inline

Definition at line 133 of file drag_drop.hpp.

Member Function Documentation

◆ ecs()

game::i_ecs const & neogfx::drag_drop_entity::ecs ( ) const
inlinefinalvirtual

Implements neogfx::i_drag_drop_entity.

Definition at line 140 of file drag_drop.hpp.

◆ entity()

game::entity_id neogfx::drag_drop_entity::entity ( ) const
inlinefinalvirtual

Implements neogfx::i_drag_drop_entity.

Definition at line 144 of file drag_drop.hpp.


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