7 #ifndef MYGUI_DDCONTAINER_H_ 8 #define MYGUI_DDCONTAINER_H_ 38 void setNeedDragDrop(
bool _value);
40 bool getNeedDragDrop() const;
51 EventHandle_DDContainerPtrCDDItemInfoRefBoolRef eventStartDrag;
59 EventHandle_DDContainerPtrCDDItemInfoRefBoolRef eventRequestDrop;
67 EventHandle_DDContainerPtrCDDItemInfoRefBool eventDropResult;
74 EventHandle_EventHandle_DDContainerPtrDDItemState eventChangeDDState;
82 EventHandle_EventHandle_DDContainerPtrWidgetPtrRefIntCoordRef requestDragWidgetInfo;
87 virtual
void _setContainerItemInfo(
size_t _index,
bool _set,
bool _accept);
93 delegates::CMultiDelegate1<DDContainer*> _eventInvalideContainer;
104 virtual
void onMouseButtonPressed(
int _left,
int _top,
MouseButton _id);
105 virtual
void onMouseButtonReleased(
int _left,
int _top,
MouseButton _id);
106 virtual
void onMouseDrag(
int _left,
int _top,
MouseButton _id);
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 virtual
void setPropertyOverride(const std::
string& _key, const std::
string& _value);
128 Widget* mCurrentSender;
132 size_t mDropSenderIndex;
143 DDContainer* mReseiverContainer;
148 #endif // MYGUI_DDCONTAINER_H_
delegates::CMultiDelegate2< DDContainer *, DDItemState > EventHandle_EventHandle_DDContainerPtrDDItemState
delegates::CMultiDelegate3< DDContainer *, const DDItemInfo &, bool & > EventHandle_DDContainerPtrCDDItemInfoRefBoolRef
#define MYGUI_RTTI_DERIVED(DerivedType)
delegates::CDelegate3< DDContainer *, Widget *&, IntCoord & > EventHandle_EventHandle_DDContainerPtrWidgetPtrRefIntCoordRef
delegates::CMultiDelegate3< DDContainer *, const DDItemInfo &, bool > EventHandle_DDContainerPtrCDDItemInfoRefBool
DDContainer properties. DDContainer_skin_childs Skin childs. DDContainer widget description should b...