Simple GUI Library
Sgl::DragListener< C > Class Template Reference
Inheritance diagram for Sgl::DragListener< C >:
Collaboration diagram for Sgl::DragListener< C >:

Public Member Functions

 DEFINE_STATIC_LISTENED_EVENT_TYPES (DragStartEvent::getStaticType(), DragEndEvent::getStaticType(), DragMoveEvent::getStaticType()) public
 
virtual void onEvent (Sml::Event *event) override final
 
virtual void onDragStart (DragStartEvent *event)
 
virtual void onDragEnd (DragEndEvent *event)
 
virtual void onDragMove (DragMoveEvent *event)
 
- Public Member Functions inherited from Sgl::ComponentEventListener< C >
 ComponentEventListener (C *component)
 
C * getComponent ()
 
void setComponent (C *component)
 

Detailed Description

template<typename C>
class Sgl::DragListener< C >

Definition at line 293 of file gui_event.h.

Member Function Documentation

◆ DEFINE_STATIC_LISTENED_EVENT_TYPES()

template<typename C >
Sgl::DragListener< C >::DEFINE_STATIC_LISTENED_EVENT_TYPES ( DragStartEvent::getStaticType()  ,
DragEndEvent::getStaticType()  ,
DragMoveEvent::getStaticType()   
)
inline

Definition at line 296 of file gui_event.h.

◆ onDragEnd()

template<typename C >
virtual void Sgl::DragListener< C >::onDragEnd ( DragEndEvent event)
inlinevirtual

Definition at line 330 of file gui_event.h.

◆ onDragMove()

template<typename C >
virtual void Sgl::DragListener< C >::onDragMove ( DragMoveEvent event)
inlinevirtual

Definition at line 331 of file gui_event.h.

◆ onDragStart()

template<typename C >
virtual void Sgl::DragListener< C >::onDragStart ( DragStartEvent event)
inlinevirtual

Definition at line 329 of file gui_event.h.

◆ onEvent()

template<typename C >
virtual void Sgl::DragListener< C >::onEvent ( Sml::Event *  event)
inlinefinaloverridevirtual

Definition at line 303 of file gui_event.h.


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