DNESS / cocos2d-iphone

Automatically exported from code.google.com/p/cocos2d-iphone
1 stars 0 forks source link

Proposed addition - Visible flag and menus #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Would it be possible for a menu to honour its 'visible' flag when
dealing with touch events? i.e., when a menu is not visible it's
menuitems are not active and don't receive events?

Original issue reported on code.google.com by andyfit...@gmail.com on 24 Nov 2008 at 9:20

GoogleCodeExporter commented 9 years ago

Original comment by ricardoq...@gmail.com on 25 Nov 2008 at 12:31

GoogleCodeExporter commented 9 years ago
I actually patched this in our version of cocos2d, along with some code that 
honours
the fact that the selector can be nil.

I'll post the patch as soon as possible.

Original comment by Jeroen.D...@gmail.com on 12 Mar 2009 at 3:28

GoogleCodeExporter commented 9 years ago
One line fix, adds a check for the visible_ flag in the ccTouchBegan method of 
CCMenu.

Original comment by asad.reh...@gmail.com on 6 Feb 2010 at 9:39

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ricardoq...@gmail.com on 7 Feb 2010 at 2:41

GoogleCodeExporter commented 9 years ago

Original comment by ricardoq...@gmail.com on 8 Feb 2010 at 4:22

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1866.

Original comment by ricardoq...@gmail.com on 16 Mar 2010 at 8:06