MCPcopy Create free account
hub / github.com/MyGUI/mygui / updateDropItemsState

Method updateDropItemsState

MyGUIEngine/src/MyGUI_ItemBox.cpp:583–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581 }
582
583 void ItemBox::updateDropItemsState(const DDWidgetState& _state)
584 {
585 IBDrawItemInfo data;
586 data.drop_accept = _state.accept;
587 data.drop_refuse = _state.refuse;
588
589 data.select = false;
590 data.active = false;
591
592 data.index = mDropSenderIndex;
593 data.update = _state.update;
594 data.drag = true;
595
596 requestDrawItem(this, mItemDrag, data);
597 }
598
599 void ItemBox::notifyMouseDrag(Widget* _sender, int _left, int _top, MouseButton _id)
600 {

Callers

nothing calls this directly

Calls 1

requestDrawItemFunction · 0.85

Tested by

no test coverage detected