smarthaert / phoenixlib

Automatically exported from code.google.com/p/phoenixlib
0 stars 0 forks source link

Add property Block to TPhxGuiEngine #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I need some way to block the event handling in TPHXGUIEngine.

Example, I have a button StartGame... When I press this button, I execute a 
function in my code and the screen fades out, but When the screen is fading 
out, I can click in the button again, and the funcition is executed again!

My Idea is Add something like this in lua:
TPHXGuiEngine.Block;
PlayGame;

When the Engine is blocked, nothing is executed in 
TPHXGuiEngine.HandleEvent.... the button must stays with the Pressed Status.

Original issue reported on code.google.com by wagenhei...@gmail.com on 18 Nov 2010 at 10:12

GoogleCodeExporter commented 9 years ago

Original comment by andreas....@gmail.com on 8 Aug 2013 at 2:11