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);
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__