Search found 4 matches

by Crazy Eddie Jr
Wed May 08, 2019 21:21
Forum: Help
Topic: Editbox and EventTextAccepted
Replies: 6
Views: 12165

Re: Editbox and EventTextAccepted

My bad; what I thought was a Editbox was a MultiLineEditbox.
Works now.
by Crazy Eddie Jr
Wed May 08, 2019 13:37
Forum: Help
Topic: Editbox and EventTextAccepted
Replies: 6
Views: 12165

Re: Editbox and EventTextAccepted

I am using OIS 'keyPressed' and 'keyReleased' to call two functions: void InjectKeyDown(CEGUI::Key::Scan x, unsigned int y){ CEGUI::System::getSingleton().getDefaultGUIContext().injectKeyDown(x); CEGUI::System::getSingleton().getDefaultGUIContext().injectChar(y); } void InjectKeyUp(CEGUI::Key::Scan ...
by Crazy Eddie Jr
Tue May 07, 2019 21:07
Forum: Help
Topic: Editbox and EventTextAccepted
Replies: 6
Views: 12165

Re: Editbox and EventTextAccepted

Enter key, yes.
by Crazy Eddie Jr
Tue May 07, 2019 20:06
Forum: Help
Topic: Editbox and EventTextAccepted
Replies: 6
Views: 12165

Editbox and EventTextAccepted

Hello, I have a Editbox set up so you can type into it / edit the text. The thing is the Event Subscriber to EventTextAccepted never gets called when return is pressed; It just goes to a new line in the editbox. editbox->subscribeEvent (CEGUI::Editbox::EventTextAccepted , CEGUI::Event::Subscriber(&a...

Go to advanced search