Window names must not contain slashes. It works without it. It is used everywhere without it and it works. If it otherwise does not work for you then you must have made a mistake somewhere. in 0.8.X window names should definitely not contain slashes.
See also: viewtopic.php?t=7054
Also you did not reply to my other questions. Can't help like this.
beginner question : Problem with using subscribeEvent
Moderators: CEGUI MVP, CEGUI Team
Re: beginner question : Problem with using subscribeEvent
CrazyEddie: "I don't like GUIs"
Re: beginner question : Problem with using subscribeEvent
I fiddled around with my template code and used your code for initialization etc and found no obvious bug. The problem must definitely be somewhere in your "quit" function as I was able to call my ButtonClick handler without further problems.
Re: beginner question : Problem with using subscribeEvent
[SOLVED]
ok. i solved it. the error was from this part (injectMouseButtonDown ):
i changed it to this:
ok. i solved it. the error was from this part (injectMouseButtonDown ):
Code: Select all
bool TutorialApplication::mouseReleased(const OIS::MouseEvent& me, OIS::MouseButtonID id)
{
.....
if(CEGUI::System::getSingleton().getDefaultGUIContext().injectMouseButtonDown(convertButton(id))) return true;
mCameraMan->injectMouseUp(me, id);
return true;
}
i changed it to this:
Code: Select all
bool TutorialApplication::mouseReleased(const OIS::MouseEvent& me, OIS::MouseButtonID id)
{
.....
if(CEGUI::System::getSingleton().getDefaultGUIContext().injectMouseButtonUp(convertButton(id))) return true;
mCameraMan->injectMouseUp(me, id);
return true;
}
Who is online
Users browsing this forum: No registered users and 25 guests