about summary refs log tree commit diff stats
path: root/data/maps/the_double_sided/rooms/Obverse Orange Isolated Section.txtpb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-10-23 14:53:05 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-10-23 14:53:05 -0400
commit7cbadc54777fc537191c0e18d88754dd4caaf591 (patch)
tree0fd458f3d144413de877537c2e9edc5c6525f56d /data/maps/the_double_sided/rooms/Obverse Orange Isolated Section.txtpb
parentd61f21f89d54138853cfa10f4fdfaaeccdd56a8f (diff)
downloadlingo2-archipelago-7cbadc54777fc537191c0e18d88754dd4caaf591.tar.gz
lingo2-archipelago-7cbadc54777fc537191c0e18d88754dd4caaf591.tar.bz2
lingo2-archipelago-7cbadc54777fc537191c0e18d88754dd4caaf591.zip
Fixed Trans Rights area not being accessible in unshuffled doors
Diffstat (limited to 'data/maps/the_double_sided/rooms/Obverse Orange Isolated Section.txtpb')
0 files changed, 0 insertions, 0 deletions
2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 *  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