Who can tell me how to use MyGUI in NDK and Ogre for Android

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Post Reply
aaron_tree_2014
Gnoblar
Posts: 2
Joined: Sat Mar 29, 2014 6:59 am

Who can tell me how to use MyGUI in NDK and Ogre for Android

Post by aaron_tree_2014 »

I wrote these code in a project:
MyGUI::VectorWidgetPtr widgets = MyGUI::LayoutManager::getInstance().loadLayout("QuitButton.layout");
MyGUI::ButtonPtr button = GUISystem::getInstance().getGUI()->findWidget<MyGUI::Button>("QuitButton");
button->eventMouseButtonClick += MyGUI::newDelegate(this, &MyGui::quit);

But compiler throw an error: no match for 'operator+=' in 'button->MyGUI::Button::<anonymous>.MyGUI::TextBox::<anonymous>.MyGUI::Widget::<anonymous>.MyGUI::WidgetInput::eventMouseButtonClick += MyGUI::newDelegate [with T = MyGui](this, &MyGui::quit)'

Who can tell me how to deal with MyGUI.
Post Reply