Problem of event passing!
Posted: Fri Oct 28, 2005 11:12
The cegui event seems do not fire for one time.
I put two button in the same postion but different layer.
The first button fire the event first .
If set the button hidden or removed in it`s event dealing function,the second button`s event dealing function will be fired.
So when I change from one state to another by button clicked.If there is a button with the same postion in the second state.It will be fired.This is exactly what I met.
Is there any setting function to make the event be fired for only one time.
Thanks!
I put two button in the same postion but different layer.
The first button fire the event first .
If set the button hidden or removed in it`s event dealing function,the second button`s event dealing function will be fired.
So when I change from one state to another by button clicked.If there is a button with the same postion in the second state.It will be fired.This is exactly what I met.
Is there any setting function to make the event be fired for only one time.
Thanks!