index : tanetane

this commit

main

A Mother 3 fangame |

summary refs log tree commit diff stats

log msg

author

committer

range

path: root/res/sfx/speaking_boy.wav

| Commit message (Expand) | Author | Age | Files | Lines
* | Fixed audio popping from speaking tones | Kelly Rauchenberger | 2021-02-10 | 1 | -0/+0
* | Organised resources folder | Kelly Rauchenberger | 2021-02-05 | 1 | -0/+0

generated by cgit-pink 1.4.1 (git 2.36.1) at 2024-10-03 04:57:14 +0000

a id='n29' href='#n29'>29 30 31 32 33 34 35 36 37

/*
* NMPanelMenu.m
* shapes
*
* Created by Nate Murray on 7/29/10.
* Copyright 2010 YetiApps. All rights reserved.
*
*/

#import "NMPanelMenu.h"

@implementation NMPanelMenu

-(CCMenuItem *) itemForTouch: (UITouch *) touch
{
CGPoint touchLocation = [touch locationInView: [[touch view] superview]];
touchLocation = [[CCDirector sharedDirector] convertToGL: touchLocation];

CCMenuItem* item;
CCARRAY_FOREACH(children_, item){
// ignore invisible and disabled items: issue #779, #866
if ( [item visible] && [item isEnabled] ) {

CGPoint local = [item convertToNodeSpace:touchLocation];

CGRect r = [item rect];
r.origin = CGPointZero;

if( CGRectContainsPoint( r, local ) ) {
return item;
}
}
}
return nil;
}

@end

generated by cgit-pink 1.4.1 (git 2.36.1) at 2024-10-03 04:57:14 +0000