20 mCurrentSender(nullptr),
24 mReseiverContainer(nullptr)
134 Widget* receiver =
nullptr;
175 if (receiver ==
nullptr)
258 if (_key ==
"NeedDragDrop")
widget description should be here.
void onMouseDrag(int _left, int _top, MouseButton _id) override
EventHandle_DDContainerPtrCDDItemInfoRefBoolRef eventRequestDrop
virtual void notifyInvalideDrop(DDContainer *_sender)
EventHandle_DDContainerPtrCDDItemInfoRefBoolRef eventStartDrag
delegates::CMultiDelegate3< DDContainer *, Widget *, const DDWidgetState & > eventUpdateDropState
virtual void _setContainerItemInfo(size_t _index, bool _set, bool _accept)
EventHandle_EventHandle_DDContainerPtrWidgetPtrRefIntCoordRef requestDragWidgetInfo
DDContainer * mReseiverContainer
bool getNeedDragDrop() const
void onMouseButtonPressed(int _left, int _top, MouseButton _id) override
void mouseButtonPressed(MouseButton _id)
virtual void updateDropItems()
EventHandle_EventHandle_DDContainerPtrDDItemState eventChangeDDState
void onMouseButtonReleased(int _left, int _top, MouseButton _id) override
void mouseButtonReleased(MouseButton _id)
void setPropertyOverride(const std::string &_key, const std::string &_value) override
virtual void removeDropItems()
void setNeedDragDrop(bool _value)
virtual void updateDropItemsState(const DDWidgetState &_state)
EventHandle_DDContainerPtrCDDItemInfoRefBool eventDropResult
void mouseDrag(MouseButton _id)
void endDrop(bool _reset)
delegates::CMultiDelegate1< DDContainer * > _eventInvalideContainer
const IntPoint & getAbsolutePosition() const
static LayerManager & getInstance()
Widget * getWidgetFromPoint(int _left, int _top) const
delegates::DelegateFunction< Args... > * newDelegate(void(*_func)(Args... args))
void set(DDContainer *_sender, size_t _sender_index, DDContainer *_receiver, size_t _receiver_index)