| 23 | { |
| 24 | |
| 25 | void DataListBaseControl::OnInitialise(Control* _parent, MyGUI::Widget* _place, std::string_view _layoutName) |
| 26 | { |
| 27 | Control::OnInitialise(_parent, _place, _layoutName); |
| 28 | |
| 29 | mListBoxControl = findControl<ListBoxDataControl>(); |
| 30 | |
| 31 | if (mListBoxControl != nullptr) |
| 32 | { |
| 33 | mListBoxControl->setEnableChangePosition(true); |
| 34 | mListBoxControl->eventChangePosition.connect(this, &DataListBaseControl::notifyChangePosition); |
| 35 | mListBoxControl->eventChangeName.connect(this, &DataListBaseControl::notifyChangeName); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | bool DataListBaseControl::checkCommand(bool _result) |
| 40 | { |
nothing calls this directly
no test coverage detected