|
MyGUI 3.0.1
|
#include <MyGUI_DDContainer.h>
Inheritance diagram for MyGUI::DDContainer:Definition at line 40 of file MyGUI_DDContainer.h.
| typedef RTTIBase MyGUI::DDContainer::Base |
Reimplemented in MyGUI::ItemBox, MyGUI::ListBox, and MyGUI::ListCtrl.
Definition at line 43 of file MyGUI_DDContainer.h.
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::ItemBox, MyGUI::ListBox, and MyGUI::ListCtrl.
Definition at line 43 of file MyGUI_DDContainer.h.
| MyGUI::DDContainer::DDContainer | ( | ) |
Definition at line 31 of file MyGUI_DDContainer.cpp.
| MyGUI::DDContainer::~DDContainer | ( | ) | [protected, virtual] |
Definition at line 51 of file MyGUI_DDContainer.cpp.
| void MyGUI::DDContainer::_getContainer | ( | Widget *& | _container, |
| size_t & | _index | ||
| ) | [protected, virtual] |
Reimplemented from MyGUI::Widget.
Definition at line 294 of file MyGUI_DDContainer.cpp.
| void MyGUI::DDContainer::_initialise | ( | WidgetStyle | _style, |
| const IntCoord & | _coord, | ||
| Align | _align, | ||
| ResourceSkin * | _info, | ||
| Widget * | _parent, | ||
| ICroppedRectangle * | _croppedParent, | ||
| IWidgetCreator * | _creator, | ||
| const std::string & | _name | ||
| ) | [virtual] |
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::ItemBox, MyGUI::ListBox, and MyGUI::ListCtrl.
Definition at line 44 of file MyGUI_DDContainer.cpp.
| virtual void MyGUI::DDContainer::_setContainerItemInfo | ( | size_t | _index, |
| bool | _set, | ||
| bool | _accept | ||
| ) | [inline, virtual] |
Reimplemented in MyGUI::ItemBox, and MyGUI::ListCtrl.
Definition at line 101 of file MyGUI_DDContainer.h.
| void MyGUI::DDContainer::baseChangeWidgetSkin | ( | ResourceSkin * | _info | ) | [protected, virtual] |
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::ItemBox, MyGUI::ListBox, and MyGUI::ListCtrl.
Definition at line 56 of file MyGUI_DDContainer.cpp.
| void MyGUI::DDContainer::endDrop | ( | bool | _reset | ) | [protected] |
Definition at line 237 of file MyGUI_DDContainer.cpp.
| static const std::string& MyGUI::DDContainer::getClassTypeName | ( | ) | [inline, static] |
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::ItemBox, MyGUI::ListBox, and MyGUI::ListCtrl.
Definition at line 43 of file MyGUI_DDContainer.h.
| bool MyGUI::DDContainer::getNeedDragDrop | ( | ) | [inline] |
Get drag'n'drop mode flag
Definition at line 53 of file MyGUI_DDContainer.h.
| virtual const std::string& MyGUI::DDContainer::getTypeName | ( | ) | const [inline, virtual] |
Get type name as string
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::ItemBox, MyGUI::ListBox, and MyGUI::ListCtrl.
Definition at line 43 of file MyGUI_DDContainer.h.
| bool MyGUI::DDContainer::isType | ( | ) | const [inline] |
Compare with selected type
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::ItemBox, MyGUI::ListBox, and MyGUI::ListCtrl.
Definition at line 43 of file MyGUI_DDContainer.h.
| virtual bool MyGUI::DDContainer::isType | ( | const std::type_info & | _type | ) | const [inline, virtual] |
Compare with selected type
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::ItemBox, MyGUI::ListBox, and MyGUI::ListCtrl.
Definition at line 43 of file MyGUI_DDContainer.h.
| void MyGUI::DDContainer::mouseButtonPressed | ( | MouseButton | _id | ) | [protected] |
Definition at line 95 of file MyGUI_DDContainer.cpp.
| void MyGUI::DDContainer::mouseButtonReleased | ( | MouseButton | _id | ) | [protected] |
Definition at line 117 of file MyGUI_DDContainer.cpp.
| void MyGUI::DDContainer::mouseDrag | ( | ) | [protected] |
Definition at line 125 of file MyGUI_DDContainer.cpp.
| void MyGUI::DDContainer::notifyInvalideDrop | ( | DDContainer * | _sender | ) | [protected, virtual] |
Definition at line 289 of file MyGUI_DDContainer.cpp.
| void MyGUI::DDContainer::onMouseButtonPressed | ( | int | _left, |
| int | _top, | ||
| MouseButton | _id | ||
| ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetEvent.
Reimplemented in MyGUI::ItemBox, and MyGUI::ListCtrl.
Definition at line 71 of file MyGUI_DDContainer.cpp.
| void MyGUI::DDContainer::onMouseButtonReleased | ( | int | _left, |
| int | _top, | ||
| MouseButton | _id | ||
| ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetEvent.
Reimplemented in MyGUI::ItemBox, and MyGUI::ListCtrl.
Definition at line 81 of file MyGUI_DDContainer.cpp.
| void MyGUI::DDContainer::onMouseDrag | ( | int | _left, |
| int | _top | ||
| ) | [protected, virtual] |
Reimplemented from MyGUI::WidgetEvent.
Reimplemented in MyGUI::ItemBox, and MyGUI::ListCtrl.
Definition at line 88 of file MyGUI_DDContainer.cpp.
| void MyGUI::DDContainer::removeDropItems | ( | ) | [protected, virtual] |
Reimplemented in MyGUI::ItemBox, and MyGUI::ListCtrl.
Definition at line 262 of file MyGUI_DDContainer.cpp.
| void MyGUI::DDContainer::setNeedDragDrop | ( | bool | _value | ) | [inline] |
Set drag'n'drop mode flag. Disabled (false) by default.
Definition at line 51 of file MyGUI_DDContainer.h.
| void MyGUI::DDContainer::setProperty | ( | const std::string & | _key, |
| const std::string & | _value | ||
| ) | [virtual] |
Set any widget property
| _key | Property name (for example Widget_Alpha or Edit_MultiLine) |
| _value | Value converted to string |
Reimplemented from MyGUI::Widget.
Definition at line 300 of file MyGUI_DDContainer.cpp.
| void MyGUI::DDContainer::updateDropItems | ( | ) | [protected, virtual] |
Reimplemented in MyGUI::ItemBox, and MyGUI::ListCtrl.
Definition at line 267 of file MyGUI_DDContainer.cpp.
| void MyGUI::DDContainer::updateDropItemsState | ( | const DDWidgetState & | _state | ) | [protected, virtual] |
Reimplemented in MyGUI::ItemBox, and MyGUI::ListCtrl.
Definition at line 284 of file MyGUI_DDContainer.cpp.
| EventPair<EventHandle_WidgetVoid, delegates::CDelegate1<DDContainer*> > MyGUI::DDContainer::_eventInvalideContainer |
Event : внутреннее событие, невалидна информация для контейнера signature : void method(MyGUI::DDContainer* _sender)
| _sender | widget that called this event |
Definition at line 110 of file MyGUI_DDContainer.h.
Event : drag'n'drop state changed signature : void method(MyGUI::DDContainer* _sender, MyGUI::DDItemState _state)
| _sender | widget that called this event |
| _state | new state |
Definition at line 88 of file MyGUI_DDContainer.h.
Event : end drag (drop) signature : void method(MyGUI::DDContainer* _sender, const MyGUI::DDItemInfo& _info, bool _result)
| _sender | widget that called this event |
| _info | information about DDContainers |
| _result | if true then drop was successfull |
Definition at line 81 of file MyGUI_DDContainer.h.
Event : request for start drag (moving mouse over container, but not dropped yet) signature : void method(MyGUI::DDContainer* _sender, const MyGUI::DDItemInfo& _info, bool& _result)
| _sender | widget that called this event |
| _info | information about DDContainers |
| _result | write here true if container accept dragged widget or false if it isn't |
Definition at line 73 of file MyGUI_DDContainer.h.
Event : request for start drag signature : void method(MyGUI::DDContainer* _sender, const MyGUI::DDItemInfo& _info, bool& _result)
| _sender | widget that called this event |
| _info | information about DDContainers |
| _result | write here true if container can be draggedor false if it can't |
Definition at line 65 of file MyGUI_DDContainer.h.
| delegates::CDelegate3<DDContainer*, Widget*, const DDWidgetState&> MyGUI::DDContainer::eventUpdateDropState |
Event : !!обновить виджеты дропа DD_FIXME наверное internal signature : void method(MyGUI::DDContainer* _sender, MyGUI::Widget* _item, const MyGUI::DDWidgetState& _state)
| _sender | widget that called this event |
| _items | |
| _state |
Definition at line 119 of file MyGUI_DDContainer.h.
IntPoint MyGUI::DDContainer::mClickInWidget [protected] |
Definition at line 165 of file MyGUI_DDContainer.h.
Widget* MyGUI::DDContainer::mCurrentSender [protected] |
Definition at line 155 of file MyGUI_DDContainer.h.
IntCoord MyGUI::DDContainer::mDropDimension [protected] |
Definition at line 163 of file MyGUI_DDContainer.h.
DDItemInfo MyGUI::DDContainer::mDropInfo [protected] |
Definition at line 157 of file MyGUI_DDContainer.h.
Widget* MyGUI::DDContainer::mDropItem [protected] |
Definition at line 162 of file MyGUI_DDContainer.h.
bool MyGUI::DDContainer::mDropResult [protected] |
Definition at line 150 of file MyGUI_DDContainer.h.
size_t MyGUI::DDContainer::mDropSenderIndex [protected] |
Definition at line 159 of file MyGUI_DDContainer.h.
bool MyGUI::DDContainer::mNeedDragDrop [protected] |
Definition at line 168 of file MyGUI_DDContainer.h.
bool MyGUI::DDContainer::mNeedDrop [protected] |
Definition at line 151 of file MyGUI_DDContainer.h.
Widget* MyGUI::DDContainer::mOldDrop [protected] |
Definition at line 154 of file MyGUI_DDContainer.h.
DDContainer* MyGUI::DDContainer::mReseiverContainer [protected] |
Definition at line 170 of file MyGUI_DDContainer.h.
bool MyGUI::DDContainer::mStartDrop [protected] |
Definition at line 152 of file MyGUI_DDContainer.h.
| EventHandle_EventHandle_DDContainerPtrWidgetPtrRefIntCoordRef MyGUI::DDContainer::requestDragWidgetInfo |
Event : [not used] request widget for dragging signature : void method(MyGUI::DDContainer* _sender, MyGUI::Widget*& _item, MyGUI::IntCoord& _dimension)
| _sender | widget that called this event |
| _item | write widget pointer here |
| _dimension | write widget coordinate here |
Definition at line 96 of file MyGUI_DDContainer.h.
1.7.4