| 17 | } |
| 18 | |
| 19 | void MessageBoxFadeControl::OnInitialise(Control* _parent, MyGUI::Widget* _place, std::string_view /*_layoutName*/) |
| 20 | { |
| 21 | Control::OnInitialise(_parent, _place, "MessageBoxFadeControl.layout"); |
| 22 | |
| 23 | MyGUI::Gui::getInstance().eventFrameStart += MyGUI::newDelegate(this, &MessageBoxFadeControl::notifyFrameStart); |
| 24 | |
| 25 | mMaxAlpha = mMainWidget->getAlpha(); |
| 26 | mMainWidget->setAlpha(0); |
| 27 | } |
| 28 | |
| 29 | |
| 30 | void MessageBoxFadeControl::notifyFrameStart(float _time) |
nothing calls this directly
no test coverage detected