MyGUI
3.2.0
|
#include <MyGUI_DDContainer.h>
Definition at line 39 of file MyGUI_DDContainer.h.
typedef RTTIBase MyGUI::DDContainer::Base |
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::ItemBox.
Definition at line 42 of file MyGUI_DDContainer.h.
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::ItemBox.
Definition at line 42 of file MyGUI_DDContainer.h.
Definition at line 30 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::_setContainerItemInfo | ( | size_t | _index, |
bool | _set, | ||
bool | _accept | ||
) | [virtual] |
Reimplemented in MyGUI::ItemBox.
Definition at line 292 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::endDrop | ( | bool | _reset | ) | [protected] |
Definition at line 214 of file MyGUI_DDContainer.cpp.
static const std::string& MyGUI::DDContainer::getClassTypeName | ( | ) | [inline, static] |
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::ItemBox.
Definition at line 42 of file MyGUI_DDContainer.h.
bool MyGUI::DDContainer::getNeedDragDrop | ( | ) | const |
Get drag'n'drop mode flag
Definition at line 287 of file MyGUI_DDContainer.cpp.
virtual const std::string& MyGUI::DDContainer::getTypeName | ( | ) | const [inline, virtual] |
Get type name as string
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::ItemBox.
Definition at line 42 of file MyGUI_DDContainer.h.
bool MyGUI::DDContainer::isType | ( | ) | const [inline] |
Compare with selected type
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::ItemBox.
Definition at line 42 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.
Definition at line 42 of file MyGUI_DDContainer.h.
void MyGUI::DDContainer::mouseButtonPressed | ( | MouseButton | _id | ) | [protected] |
Definition at line 67 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::mouseButtonReleased | ( | MouseButton | _id | ) | [protected] |
Definition at line 89 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::mouseDrag | ( | MouseButton | _id | ) | [protected] |
Definition at line 97 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::notifyInvalideDrop | ( | DDContainer * | _sender | ) | [protected, virtual] |
Definition at line 265 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::onMouseButtonPressed | ( | int | _left, |
int | _top, | ||
MouseButton | _id | ||
) | [protected, virtual] |
Reimplemented from MyGUI::WidgetInput.
Reimplemented in MyGUI::ItemBox.
Definition at line 43 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::onMouseButtonReleased | ( | int | _left, |
int | _top, | ||
MouseButton | _id | ||
) | [protected, virtual] |
Reimplemented from MyGUI::WidgetInput.
Reimplemented in MyGUI::ItemBox.
Definition at line 53 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::onMouseDrag | ( | int | _left, |
int | _top, | ||
MouseButton | _id | ||
) | [protected, virtual] |
Reimplemented from MyGUI::WidgetInput.
Reimplemented in MyGUI::ItemBox.
Definition at line 60 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::removeDropItems | ( | ) | [protected, virtual] |
Reimplemented in MyGUI::ItemBox.
Definition at line 238 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::resetDrag | ( | ) |
Reimplemented in MyGUI::ItemBox.
Definition at line 296 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::setNeedDragDrop | ( | bool | _value | ) |
Set drag'n'drop mode flag. Disabled (false) by default.
Definition at line 282 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::setPropertyOverride | ( | const std::string & | _key, |
const std::string & | _value | ||
) | [protected, virtual] |
Reimplemented from MyGUI::Widget.
Reimplemented in MyGUI::ItemBox.
Definition at line 270 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::updateDropItems | ( | ) | [protected, virtual] |
Reimplemented in MyGUI::ItemBox.
Definition at line 243 of file MyGUI_DDContainer.cpp.
void MyGUI::DDContainer::updateDropItemsState | ( | const DDWidgetState & | _state | ) | [protected, virtual] |
Reimplemented in MyGUI::ItemBox.
Definition at line 260 of file MyGUI_DDContainer.cpp.
Event : [Internal event] невалидна информация для контейнера.
signature : void method(MyGUI::DDContainer* _sender)
_sender | widget that called this event |
Definition at line 111 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 90 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 82 of file MyGUI_DDContainer.h.
Event : Request for start drop (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 64 of file MyGUI_DDContainer.h.
delegates::CMultiDelegate3<DDContainer*, Widget*, const DDWidgetState&> MyGUI::DDContainer::eventUpdateDropState |
Event : [Internal 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 120 of file MyGUI_DDContainer.h.
IntPoint MyGUI::DDContainer::mClickInWidget [protected] |
Definition at line 157 of file MyGUI_DDContainer.h.
Widget* MyGUI::DDContainer::mCurrentSender [protected] |
Definition at line 147 of file MyGUI_DDContainer.h.
IntCoord MyGUI::DDContainer::mDropDimension [protected] |
Definition at line 155 of file MyGUI_DDContainer.h.
DDItemInfo MyGUI::DDContainer::mDropInfo [protected] |
Definition at line 149 of file MyGUI_DDContainer.h.
Widget* MyGUI::DDContainer::mDropItem [protected] |
Definition at line 154 of file MyGUI_DDContainer.h.
bool MyGUI::DDContainer::mDropResult [protected] |
Definition at line 142 of file MyGUI_DDContainer.h.
size_t MyGUI::DDContainer::mDropSenderIndex [protected] |
Definition at line 151 of file MyGUI_DDContainer.h.
bool MyGUI::DDContainer::mNeedDragDrop [protected] |
Definition at line 160 of file MyGUI_DDContainer.h.
bool MyGUI::DDContainer::mNeedDrop [protected] |
Definition at line 143 of file MyGUI_DDContainer.h.
Widget* MyGUI::DDContainer::mOldDrop [protected] |
Definition at line 146 of file MyGUI_DDContainer.h.
DDContainer* MyGUI::DDContainer::mReseiverContainer [protected] |
Definition at line 162 of file MyGUI_DDContainer.h.
bool MyGUI::DDContainer::mStartDrop [protected] |
Definition at line 144 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 99 of file MyGUI_DDContainer.h.