cegui Event handlers Not liking it it
Posted: Tue Sep 19, 2006 15:57
My code:
Don't work to good,
handler
but just up a bit on the same file is a woring perfect event
anyhelp?
//Start a new game
wmgr.getWindow((CEGUI::utf8*)"Next")->subscribeEvent(CEGUI::PushButton::EventClicked, CEGUI::Event::Subscriber(&sufApp::Setup_Physics_and_game, this));
Don't work to good,
handler
.\src\suf.cpp(140) : error C2661: 'CEGUI::SubscriberTemplate<Ret,Args>::SubscriberTemplate' : no overloaded function takes 2 arguments
with
[
Ret=bool,
Args=const CEGUI::EventArgs &
]
but just up a bit on the same file is a woring perfect event
anyhelp?