14 #ifndef COMBO_DRAG_H_INCLUDED
15 #define COMBO_DRAG_H_INCLUDED
44 virtual void mouse_down(
const SDL_MouseButtonEvent& event);
45 virtual void mouse_up(
const SDL_MouseButtonEvent& event);
48 void handle_move(
const SDL_MouseMotionEvent& event);
static const float MIN_DRAG_DISTANCE
virtual void mouse_motion(const SDL_MouseMotionEvent &event)
boost::shared_ptr< combo_drag > combo_drag_ptr
static const float RETURN_SPEED
const std::vector< std::string > items
virtual void mouse_down(const SDL_MouseButtonEvent &event)
virtual void process_event()
combo_drag(CVideo &v, const std::vector< std::string > &items, const drop_group_manager_ptr group)
int get_drop_target()
used to query if this object was dropped to a target
void handle_move(const SDL_MouseMotionEvent &event)
virtual void mouse_up(const SDL_MouseButtonEvent &event)
virtual void process(events::pump_info &)
Implements return after drop.
Handles droping for drag able ui items.