it's me again
I've got another question:
My aim is to code something like a commandline.
So I need to react to the case, that the user (of the application) presses "Enter" - on condition that the editbox is active.
That's what i tried:
Code: Select all
mWindowMgr->getWindow("COMMANDLINE")->subscribeEvent(CEGUI::PushButton::EventKeyDown, CEGUI::Event::Subscriber(&Menu::ConsoleEnter, this));
But now i've to filter CEGUI::PushButton::EventKeyDown, because I'm only looking for the case, that the enter button has been pressed.
Some ideas !?