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

Method notifyClickDelete

Tools/FontEditor/PropertyInt2ListControl.cpp:111–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 void PropertyInt2ListControl::notifyClickDelete(MyGUI::Widget* _sender)
112 {
113 size_t index = mList->getIndexSelected();
114 if (index != MyGUI::ITEM_NONE)
115 {
116 mList->removeItemAt(index);
117 executeAction(getValue());
118 }
119 }
120
121 void PropertyInt2ListControl::notifyEndDialog(Dialog* _sender, bool _result)
122 {

Callers

nothing calls this directly

Calls 3

getValueFunction · 0.50
getIndexSelectedMethod · 0.45
removeItemAtMethod · 0.45

Tested by

no test coverage detected