[SOLVED, thanks] ignore events IGUIElements
Posted: Sat Oct 07, 2017 10:17 am
Am trying to find a way for a nice debug overlay in my application. i.e. a log output and specialised data trackers.
Using a IGUIPanel (i.e. copied IGUIWindow and removed the captionbar and close button, registered in an own IGUIElementFactory) as layer over the entire screen it prevents any mouse down to be picked up which are underneath the panel. Bringing the panel to the back would kinda like kill the principle of an overlay. Even then still there is this problem of picking into the scene will be prevented.
Removing the panel and adding for instance the static texts to the environment root will have the same problem. Although the text should be in front of everything, the button at the back should be able to be pressed.
Is there a way to handle this while keeping the panel (IGUIWindow) at the front?
r,
Using a IGUIPanel (i.e. copied IGUIWindow and removed the captionbar and close button, registered in an own IGUIElementFactory) as layer over the entire screen it prevents any mouse down to be picked up which are underneath the panel. Bringing the panel to the back would kinda like kill the principle of an overlay. Even then still there is this problem of picking into the scene will be prevented.
Removing the panel and adding for instance the static texts to the environment root will have the same problem. Although the text should be in front of everything, the button at the back should be able to be pressed.
Is there a way to handle this while keeping the panel (IGUIWindow) at the front?
r,