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

Method updateOnlyEmpty

MyGUIEngine/src/MyGUI_MultiListBox.cpp:209–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 }
208
209 void MultiListBox::updateOnlyEmpty()
210 {
211 if (nullptr == mWidgetEmpty)
212 return;
213
214 // кнопка, для заполнения пустоты
215 if (mWidthBar >= _getClientWidget()->getWidth())
216 mWidgetEmpty->setVisible(false);
217 else
218 {
219 mWidgetEmpty->setCoord(mWidthBar, 0, _getClientWidget()->getWidth() - mWidthBar, getButtonHeight());
220 mWidgetEmpty->setVisible(true);
221 }
222 }
223
224 void MultiListBox::notifyListChangePosition(ListBox* _sender, size_t _position)
225 {

Callers

nothing calls this directly

Calls 3

getWidthMethod · 0.45
setVisibleMethod · 0.45
setCoordMethod · 0.45

Tested by

no test coverage detected