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

Method notifyMousePressed

MyGUIEngine/src/MyGUI_ListBox.cpp:218–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 }
217
218 void ListBox::notifyMousePressed(Widget* _sender, int _left, int _top, MouseButton _id)
219 {
220 if (MouseButton::Left == _id && !mActivateOnClick)
221 _activateItem(_sender);
222
223 eventNotifyItem(
224 this,
225 IBNotifyItemData(getIndexByWidget(_sender), IBNotifyItemData::MousePressed, _left, _top, _id));
226 }
227
228 void ListBox::notifyMouseClick(MyGUI::Widget* _sender)
229 {

Callers

nothing calls this directly

Calls 1

IBNotifyItemDataFunction · 0.50

Tested by

no test coverage detected