| 94 | } |
| 95 | |
| 96 | void TestWindow::deleteSkin() |
| 97 | { |
| 98 | if (mSkinButton != nullptr) |
| 99 | { |
| 100 | mSkinButton->eventMouseButtonPressed -= MyGUI::newDelegate(this, &TestWindow::notifyMouseButtonPressed); |
| 101 | MyGUI::WidgetManager::getInstance().destroyWidget(mSkinButton); |
| 102 | mSkinButton = nullptr; |
| 103 | } |
| 104 | |
| 105 | mSkinItem = nullptr; |
| 106 | } |
| 107 | |
| 108 | void TestWindow::notifyMouseButtonPressed(MyGUI::Widget* _sender, int _left, int _top, MyGUI::MouseButton _id) |
| 109 | { |
nothing calls this directly
no test coverage detected