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

Method hideList

MyGUIEngine/src/MyGUI_ComboBox.cpp:288–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286 }
287
288 void ComboBox::hideList()
289 {
290 if (!mListShow)
291 return;
292 mListShow = false;
293
294 if (mShowSmooth)
295 {
296 ControllerFadeAlpha* controller = createControllerFadeAlpha(COMBO_ALPHA_MIN, COMBO_ALPHA_COEF, false);
297 controller->eventPostAction += newDelegate(this, &ComboBox::actionWidgetHide);
298 ControllerManager::getInstance().addItem(mList, controller);
299 }
300 else
301 {
302 mList->setVisible(false);
303 }
304 }
305
306 void ComboBox::setIndexSelected(size_t _index)
307 {

Callers

nothing calls this directly

Calls 3

newDelegateFunction · 0.85
addItemMethod · 0.45
setVisibleMethod · 0.45

Tested by

no test coverage detected