7#ifndef MYGUI_DDCONTAINER_H_
8#define MYGUI_DDCONTAINER_H_
38 void setNeedDragDrop(
bool _value);
40 bool getNeedDragDrop()
const;
87 virtual void _setContainerItemInfo(
size_t _index,
bool _set,
bool _accept);
104 void onMouseButtonPressed(
int _left,
int _top,
MouseButton _id)
override;
105 void onMouseButtonReleased(
int _left,
int _top,
MouseButton _id)
override;
106 void onMouseDrag(
int _left,
int _top,
MouseButton _id)
override;
108 virtual void notifyInvalideDrop(
DDContainer* _sender);
110 virtual void removeDropItems();
111 virtual void updateDropItems();
112 virtual void updateDropItemsState(
const DDWidgetState& _state);
118 void endDrop(
bool _reset);
120 void setPropertyOverride(
const std::string& _key,
const std::string& _value)
override;
#define MYGUI_RTTI_DERIVED(DerivedType)
widget description should be here.
EventHandle_DDContainerPtrCDDItemInfoRefBoolRef eventRequestDrop
EventHandle_DDContainerPtrCDDItemInfoRefBoolRef eventStartDrag
delegates::CMultiDelegate3< DDContainer *, Widget *, const DDWidgetState & > eventUpdateDropState
EventHandle_EventHandle_DDContainerPtrWidgetPtrRefIntCoordRef requestDragWidgetInfo
DDContainer * mReseiverContainer
EventHandle_EventHandle_DDContainerPtrDDItemState eventChangeDDState
EventHandle_DDContainerPtrCDDItemInfoRefBool eventDropResult
delegates::CMultiDelegate1< DDContainer * > _eventInvalideContainer
delegates::CMultiDelegate2< DDContainer *, DDItemState > EventHandle_EventHandle_DDContainerPtrDDItemState
delegates::CMultiDelegate3< DDContainer *, const DDItemInfo &, bool > EventHandle_DDContainerPtrCDDItemInfoRefBool
delegates::CMultiDelegate3< DDContainer *, const DDItemInfo &, bool & > EventHandle_DDContainerPtrCDDItemInfoRefBoolRef
delegates::CDelegate3< DDContainer *, Widget *&, IntCoord & > EventHandle_EventHandle_DDContainerPtrWidgetPtrRefIntCoordRef