isHit() not working for some reason

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Quite a regular
Quite a regular
Posts: 49
Joined: Thu Apr 27, 2006 21:45

isHit() not working for some reason

Postby arkos » Thu Aug 17, 2006 20:04

Hey all,

I am trying to see if the mouse is hovering over a certain window. I will be checking if it is hovering over that window while at the same time not hovering over another specific window (to sense overlap). For some reason it seems like isHit() never returns true for me. Am I using it incorrectly? I figured I may not be getting the correct mouse coordinates so I tried the following which should definately work:

Code: Select all


*getWindow is a function that I wrote, it works properly.

Any ideas?

Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 15 guests