33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni/*
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni * The contents of this file are subject to the terms of the Common Development and
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni * Distribution License (the License). You may not use this file except in compliance with the
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni * License.
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni *
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni * specific language governing permission and limitations under the License.
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni *
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni * When distributing Covered Software, include this CDDL Header Notice in each file and include
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni * Header, with the fields enclosed by brackets [] replaced by your own identifying
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni * information: "Portions copyright [year] [name of copyright owner]".
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni *
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni * Copyright 2016 ForgeRock AS.
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni */
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni#import "FRANotificationUISlider.h"
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni@implementation FRANotificationUISlider
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent*)event {
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni CGRect bounds = self.bounds;
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni bounds = CGRectInset(bounds, -10, -10);
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni return CGRectContainsPoint(bounds, point);
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni}
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni
33bcf6a8dcddec15c6f56f72378e5b33ce33d9a9Diego Colantoni@end