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

Method createNewWindow

UnitTests/UnitTest_TextureAnimations/DemoKeeper.cpp:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 void DemoKeeper::createNewWindow()
72 {
73 MyGUI::Window* widget =
74 MyGUI::LayoutManager::getInstance().loadLayout("Window.layout")[0]->castType<MyGUI::Window>();
75 widget->eventWindowButtonPressed += MyGUI::newDelegate(this, &DemoKeeper::notifyWindowButtonPressed);
76
77 mWidgets.insert(widget);
78 }
79
80 void DemoKeeper::injectKeyPress(MyGUI::KeyCode _key, MyGUI::Char _text)
81 {

Callers

nothing calls this directly

Calls 3

newDelegateFunction · 0.85
loadLayoutMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected