| 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 | { |
nothing calls this directly
no test coverage detected