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

Method setVisible

MyGUIEngine/src/MyGUI_Window.cpp:354–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352 }
353
354 void Window::setVisible(bool _visible)
355 {
356 if (mAnimateSmooth)
357 {
358 ControllerManager::getInstance().removeItem(this);
359 setAlpha(getAlphaVisible());
360 setEnabledSilent(true);
361 mAnimateSmooth = false;
362 }
363
364 Base::setVisible(_visible);
365 }
366
367 float Window::getAlphaVisible() const
368 {

Callers

nothing calls this directly

Calls 3

setAlphaFunction · 0.85
setVisibleFunction · 0.85
removeItemMethod · 0.45

Tested by

no test coverage detected