I am just looking at Component::isMouseOver() function.
I think it only allows one and only one component to be under the mouse? Seems that way, because it is calling “getComponentUnderMouse()”.
Maybe you can help me to solve my problem:
I have two different components. They are both transparent and I paint them on top of each other. I want isMouseOver() to be true for both of them at the same time.
Is there an easy way to achieve that?
The two components are not directly related to each other. By that I mean: they are not parent and child. Instead, they are siblings.