Search found 7 matches
- Sat Jun 17, 2017 14:31
- Forum: Help
- Topic: Can't get subscribeEvent to call its functions
- Replies: 11
- Views: 8785
Re: Can't get subscribeEvent to call its functions
Yeah, Time pulses are the same, the only real difference I can see is that I allow Ogre to create the window when using OIS where as I have to use an external window handle with SDL (where SDL creates the window). In both cases Ogre still builds the renderer though so... I can't make any sense out o...
- Sat Jun 17, 2017 06:03
- Forum: Help
- Topic: Can't get subscribeEvent to call its functions
- Replies: 11
- Views: 8785
Re: Can't get subscribeEvent to call its functions
Yeah, that occurred to me as well but I double checked all the other resources and they are all x64 versions. Interestingly enough, when I run more or less the same code but using OSI for inputs instead of SDL everything works as expected. Of course I'm not using SDL for windowing then so there are ...
- Fri Jun 16, 2017 21:27
- Forum: Help
- Topic: Can't get subscribeEvent to call its functions
- Replies: 11
- Views: 8785
Re: Can't get subscribeEvent to call its functions
Sorry, I didn't answer your question... the Mouse button sent to the injectMouseButtonClick is listed as LeftButton (0) and stored in the ma struct as such.
- Fri Jun 16, 2017 21:22
- Forum: Help
- Topic: Can't get subscribeEvent to call its functions
- Replies: 11
- Views: 8785
Re: Can't get subscribeEvent to call its functions
Okay, of course you're correct. I'm just getting frustrated and taking shots in the dark. It's been a while since I worked on something outside my comfort zone. Anyway, tracing the execution from the injectMouseButtonClick call it looks to me like the system identifies the hit on the child button (h...
- Fri Jun 16, 2017 07:36
- Forum: Help
- Topic: Can't get subscribeEvent to call its functions
- Replies: 11
- Views: 8785
Re: Can't get subscribeEvent to call its functions
Okay, so it looks like it is just mouse button events that don't work. Mouse motion injection is fine and input from the keyboard seems to be working okay when injected into CEGUI... Also, the edit box does not get the caret when I click on it. I made a couple of adjustments using the minimal SDL2 r...
- Thu Jun 15, 2017 05:19
- Forum: Help
- Topic: Can't get subscribeEvent to call its functions
- Replies: 11
- Views: 8785
Can't get subscribeEvent to call its functions
Hey everyone, I'm new to CEGUI and I've been working my way though the tutorials and everything works great, except I can't seem to get my windows to subscribe to events. First off, here is the information you will undoubtedly what to know about the system: CEGUI Log file: 14/06/2017 21:43:45 (Std) ...
- Thu Jun 15, 2017 04:11
- Forum: Help
- Topic: Can we add an event to a layout object (PushButton, etc...)
- Replies: 1
- Views: 3519
Re: Can we add an event to a layout object (PushButton, etc...)
Okay, So I'm not really sure I understand your questions but I think what you are asking is how to register a GUI element to trigger an event when you interact with it (such as clicking on a push button) when the elements were created from a layout file. If that is the case, have a look at this tuto...