# HG changeset patch # User koda # Date 1329069022 -3600 # Node ID d8b98aa486a6e5af8bef8f8b874e0f614687096e # Parent beab48f963d512e1cb2fe1f819a9905d2da14d80 tweaks to the value tracking slider (doesn't draw outside the superview bounds) and assign proper copyright notice to it diff -r beab48f963d5 -r d8b98aa486a6 project_files/HedgewarsMobile/Classes/GameConfigViewController-iPad.xib --- a/project_files/HedgewarsMobile/Classes/GameConfigViewController-iPad.xib Sun Feb 12 18:08:34 2012 +0100 +++ b/project_files/HedgewarsMobile/Classes/GameConfigViewController-iPad.xib Sun Feb 12 18:50:22 2012 +0100 @@ -12,7 +12,6 @@ YES - YES @@ -47,6 +46,7 @@ 274 {1024, 768} + NO YES NO @@ -61,6 +61,7 @@ 301 {{357, 17}, {309, 165}} + NO NO IBIPadFramework @@ -74,6 +75,7 @@ 301 {{441, 702}, {142, 64}} + NO 1 IBIPadFramework @@ -106,6 +108,7 @@ 268 {{20, 693}, {64, 64}} + NO IBIPadFramework 0 @@ -127,6 +130,7 @@ 265 {{940, 693}, {64, 64}} + NO 2 IBIPadFramework @@ -149,6 +153,7 @@ 301 {{0, 60}, {320, 620}} + 3 MCAwAA @@ -162,6 +167,7 @@ 301 {{337, 187}, {350, 505}} + NO YES @@ -172,6 +178,7 @@ 292 {{269, 724}, {150, 23}} + NO IBIPadFramework 0 @@ -182,6 +189,7 @@ {1024, 768} + YES @@ -509,7 +517,7 @@ MapConfigViewController {{126, 377}, {1024, 768}} com.apple.InterfaceBuilder.IBCocoaTouchPlugin - ValueTrackingSliderView + MNEValueTrackingSlider com.apple.InterfaceBuilder.IBCocoaTouchPlugin AUNRAABEMoAAA @@ -781,7 +789,7 @@ UISlider IBProjectSource - ValueTrackingSliderView.h + Classes/MNEValueTrackingSlider.h diff -r beab48f963d5 -r d8b98aa486a6 project_files/HedgewarsMobile/Classes/GameConfigViewController-iPhone.xib --- a/project_files/HedgewarsMobile/Classes/GameConfigViewController-iPhone.xib Sun Feb 12 18:08:34 2012 +0100 +++ b/project_files/HedgewarsMobile/Classes/GameConfigViewController-iPhone.xib Sun Feb 12 18:50:22 2012 +0100 @@ -514,12 +514,14 @@ mapConfigViewController schemeWeaponConfigViewController teamConfigViewController + titleImage YES MapConfigViewController SchemeWeaponConfigViewController TeamConfigViewController + UIImageView @@ -529,6 +531,7 @@ mapConfigViewController schemeWeaponConfigViewController teamConfigViewController + titleImage YES @@ -544,6 +547,10 @@ teamConfigViewController TeamConfigViewController + + titleImage + UIImageView + @@ -607,7 +614,6 @@ maxLabel previewButton segmentedControl - sizeLabel slider tableView @@ -616,8 +622,7 @@ UILabel MapPreviewButtonView UISegmentedControl - UILabel - UISlider + ValueTrackingSliderView UITableView @@ -628,7 +633,6 @@ maxLabel previewButton segmentedControl - sizeLabel slider tableView @@ -647,12 +651,8 @@ UISegmentedControl - sizeLabel - UILabel - - slider - UISlider + ValueTrackingSliderView tableView @@ -702,14 +702,22 @@ UILabel - + IBProjectSource - ExtraCategories.h + Classes/ExtraCategories.h UITableView - + + + + ValueTrackingSliderView + UISlider + + IBProjectSource + Classes/MNEValueTrackingSlider.h + @@ -852,6 +860,14 @@ + UIImageView + UIView + + IBFrameworkSource + UIKit.framework/Headers/UIImageView.h + + + UILabel UIView diff -r beab48f963d5 -r d8b98aa486a6 project_files/HedgewarsMobile/Classes/MNEValueTrackingSlider.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/project_files/HedgewarsMobile/Classes/MNEValueTrackingSlider.h Sun Feb 12 18:50:22 2012 +0100 @@ -0,0 +1,22 @@ +// +// MNEValueTrackingSlider +// +// Copyright 2011 Michael Neuwert +// "You can use the code in your own project and modify it as you like." +// http://blog.neuwert-media.com/2011/04/customized-uislider-with-visual-value-tracking/ +// + + +#import + +@class SliderValuePopupView; + +@interface MNEValueTrackingSlider : UISlider { + SliderValuePopupView *valuePopupView; + NSString *textValue; +} + +@property (nonatomic, readonly) CGRect thumbRect; +@property (nonatomic, retain) NSString *textValue; + +@end diff -r beab48f963d5 -r d8b98aa486a6 project_files/HedgewarsMobile/Classes/MNEValueTrackingSlider.m --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/project_files/HedgewarsMobile/Classes/MNEValueTrackingSlider.m Sun Feb 12 18:50:22 2012 +0100 @@ -0,0 +1,200 @@ +// +// MNEValueTrackingSlider +// +// Copyright 2011 Michael Neuwert +// "You can use the code in your own project and modify it as you like." +// http://blog.neuwert-media.com/2011/04/customized-uislider-with-visual-value-tracking/ +// + + +#import "MNEValueTrackingSlider.h" + +#pragma mark - +#pragma mark Private UIView subclass rendering the popup showing slider value +@interface SliderValuePopupView : UIView +@property (nonatomic, retain) UIFont *font; +@property (nonatomic, copy) NSString *text; +@property (nonatomic) float arrowOffset; +@end + +@implementation SliderValuePopupView + +@synthesize font = _font; +@synthesize text = _text; +@synthesize arrowOffset = _arrowOffset; + +-(id) initWithFrame:(CGRect) frame { + self = [super initWithFrame:frame]; + if (self) { + self.font = [UIFont boldSystemFontOfSize:18]; + } + return self; +} + +-(void) dealloc { + self.text = nil; + self.font = nil; + [super dealloc]; +} + +-(void) drawRect:(CGRect) rect { + // Create the path for the rounded rectangle + CGRect roundedRect = CGRectMake(self.bounds.origin.x, self.bounds.origin.y, self.bounds.size.width, floorf(self.bounds.size.height * 0.8)); + UIBezierPath *roundedRectPath = [UIBezierPath bezierPathWithRoundedRect:roundedRect cornerRadius:6.0]; + roundedRectPath.lineWidth = 2.0f; + + // Create the arrow path + UIBezierPath *arrowPath = [UIBezierPath bezierPath]; + /* + // Make sure the arrow offset is nice + if (-self.arrowOffset + 1 > CGRectGetMidX(self.bounds) / 2) + self.arrowOffset = -CGRectGetMidX(self.bounds) / 2 + 1; + if (self.arrowOffset > CGRectGetMidX(self.bounds) / 2) + self.arrowOffset = CGRectGetMidX(self.bounds) / 2 -1; + */ + + CGFloat midX = CGRectGetMidX(self.bounds) + self.arrowOffset; + CGPoint p0 = CGPointMake(midX, CGRectGetMaxY(self.bounds)); + [arrowPath moveToPoint:p0]; + [arrowPath addLineToPoint:CGPointMake((midX - 10.0), CGRectGetMaxY(roundedRect))]; + [arrowPath addLineToPoint:CGPointMake((midX + 10.0), CGRectGetMaxY(roundedRect))]; + [arrowPath closePath]; + + // Attach the arrow path to the rounded rect + [roundedRectPath appendPath:arrowPath]; + + // Color various sections + [[UIColor blackColor] setFill]; + [roundedRectPath fill]; + [[UIColor whiteColor] setStroke]; + [roundedRectPath stroke]; + [[UIColor whiteColor] setFill]; + [arrowPath fill]; + + // Draw the text + if (self.text) { + [[UIColor lightYellowColor] set]; + CGSize s = [_text sizeWithFont:self.font]; + CGFloat yOffset = (roundedRect.size.height - s.height) / 2; + CGRect textRect = CGRectMake(roundedRect.origin.x, yOffset, roundedRect.size.width, s.height); + + [_text drawInRect:textRect + withFont:self.font + lineBreakMode:UILineBreakModeWordWrap + alignment:UITextAlignmentCenter]; + } +} + +@end + +#pragma mark - +#pragma mark MNEValueTrackingSlider implementations +@implementation MNEValueTrackingSlider + +@synthesize thumbRect, textValue; + +#pragma Private methods + +-(void) _constructSlider { + valuePopupView = [[SliderValuePopupView alloc] initWithFrame:CGRectZero]; + valuePopupView.backgroundColor = [UIColor clearColor]; + valuePopupView.alpha = 0.0; + [self addSubview:valuePopupView]; +} + +-(void) _fadePopupViewInAndOut:(BOOL)aFadeIn { + [UIView beginAnimations:nil context:NULL]; + [UIView setAnimationDuration:0.25]; + if (aFadeIn) { + valuePopupView.alpha = 1.0; + } else { + valuePopupView.alpha = 0.0; + } + [UIView commitAnimations]; +} + +-(void) _positionAndUpdatePopupView { + CGRect _thumbRect = self.thumbRect; + CGRect popupRect = CGRectOffset(_thumbRect, 0, -floorf(_thumbRect.size.height * 1.5)); + // (-100, -15) determines the size of the the rect + popupRect = CGRectInset(popupRect, -100, -15); + + // this prevents drawing the popup outside the slider view + if (popupRect.origin.x < -self.frame.origin.x+5) + popupRect.origin.x = -self.frame.origin.x+5; + else if (popupRect.origin.x > self.superview.frame.size.width - popupRect.size.width - self.frame.origin.x - 5) + popupRect.origin.x = self.superview.frame.size.width - popupRect.size.width - self.frame.origin.x - 5; + //else if (CGRectGetMaxX(popupRect) > CGRectGetMaxX(self.superview.bounds)) + // popupRect.origin.x = CGRectGetMaxX(self.superview.bounds) - CGRectGetWidth(popupRect) - 1.0; + + valuePopupView.arrowOffset = CGRectGetMidX(_thumbRect) - CGRectGetMidX(popupRect); + + valuePopupView.frame = popupRect; + valuePopupView.text = self.textValue; + [valuePopupView setNeedsDisplay]; +} + +#pragma mark Memory management + +-(id) initWithFrame:(CGRect) frame { + self = [super initWithFrame:frame]; + if (self) { + [self _constructSlider]; + } + return self; +} + +-(id) initWithCoder:(NSCoder *)aDecoder { + self = [super initWithCoder:aDecoder]; + if (self) { + [self _constructSlider]; + } + return self; +} + +-(void) dealloc { + [valuePopupView release]; + [textValue release]; + [super dealloc]; +} + +#pragma mark - +#pragma mark UIControl touch event tracking +-(BOOL) beginTrackingWithTouch:(UITouch *)touch withEvent:(UIEvent *)event { + // Fade in and update the popup view + CGPoint touchPoint = [touch locationInView:self]; + // Check if the knob is touched. Only in this case show the popup-view + if(CGRectContainsPoint(CGRectInset(self.thumbRect, -14.0, -12.0), touchPoint)) { + [self _positionAndUpdatePopupView]; + [self _fadePopupViewInAndOut:YES]; + } + return [super beginTrackingWithTouch:touch withEvent:event]; +} + +-(BOOL) continueTrackingWithTouch:(UITouch *)touch withEvent:(UIEvent *)event { + // Update the popup view as slider knob is being moved + [self _positionAndUpdatePopupView]; + return [super continueTrackingWithTouch:touch withEvent:event]; +} + +-(void) cancelTrackingWithEvent:(UIEvent *)event { + [super cancelTrackingWithEvent:event]; +} + +-(void) endTrackingWithTouch:(UITouch *)touch withEvent:(UIEvent *)event { + // Fade out the popoup view + [self _fadePopupViewInAndOut:NO]; + [super endTrackingWithTouch:touch withEvent:event]; +} + +#pragma mark - +#pragma mark Custom property accessors +-(CGRect) thumbRect { + CGRect trackRect = [self trackRectForBounds:self.bounds]; + CGRect thumbR = [self thumbRectForBounds:self.bounds + trackRect:trackRect + value:self.value]; + return thumbR; +} + +@end diff -r beab48f963d5 -r d8b98aa486a6 project_files/HedgewarsMobile/Classes/MapConfigViewController-iPad.xib --- a/project_files/HedgewarsMobile/Classes/MapConfigViewController-iPad.xib Sun Feb 12 18:08:34 2012 +0100 +++ b/project_files/HedgewarsMobile/Classes/MapConfigViewController-iPad.xib Sun Feb 12 18:50:22 2012 +0100 @@ -392,7 +392,6 @@ maxLabel previewButton segmentedControl - sizeLabel slider tableView @@ -401,8 +400,7 @@ UILabel MapPreviewButtonView UISegmentedControl - UILabel - UISlider + ValueTrackingSliderView UITableView @@ -413,7 +411,6 @@ maxLabel previewButton segmentedControl - sizeLabel slider tableView @@ -432,12 +429,8 @@ UISegmentedControl - sizeLabel - UILabel - - slider - UISlider + ValueTrackingSliderView tableView @@ -480,6 +473,14 @@ UITableView + + ValueTrackingSliderView + UISlider + + IBProjectSource + Classes/MNEValueTrackingSlider.h + + YES diff -r beab48f963d5 -r d8b98aa486a6 project_files/HedgewarsMobile/Classes/MapConfigViewController-iPhone.xib --- a/project_files/HedgewarsMobile/Classes/MapConfigViewController-iPhone.xib Sun Feb 12 18:08:34 2012 +0100 +++ b/project_files/HedgewarsMobile/Classes/MapConfigViewController-iPhone.xib Sun Feb 12 18:50:22 2012 +0100 @@ -12,7 +12,6 @@ YES - YES @@ -38,7 +37,7 @@ IBCocoaTouchFramework - + 274 YES @@ -192,7 +191,6 @@ {480, 276} - @@ -428,7 +426,7 @@ P4AAAL+AAABBUAAAwigAAA - ValueTrackingSliderView + MNEValueTrackingSlider com.apple.InterfaceBuilder.IBCocoaTouchPlugin P4AAAL+AAABCWAAAw4IAAA @@ -603,7 +601,7 @@ UISlider IBProjectSource - Classes/ValueTrackingSliderView.h + Classes/MNEValueTrackingSlider.h diff -r beab48f963d5 -r d8b98aa486a6 project_files/HedgewarsMobile/Classes/MapConfigViewController.h --- a/project_files/HedgewarsMobile/Classes/MapConfigViewController.h Sun Feb 12 18:08:34 2012 +0100 +++ b/project_files/HedgewarsMobile/Classes/MapConfigViewController.h Sun Feb 12 18:50:22 2012 +0100 @@ -21,7 +21,7 @@ #import #import "MapPreviewButtonView.h" -#import "ValueTrackingSliderView.h" +#import "MNEValueTrackingSlider.h" @interface MapConfigViewController : UIViewController { NSInteger oldValue; // for the slider @@ -43,7 +43,7 @@ UITableView *tableView; UILabel *maxLabel; UISegmentedControl *segmentedControl; - ValueTrackingSliderView *slider; + MNEValueTrackingSlider *slider; // internal objects NSIndexPath *lastIndexPath; @@ -67,7 +67,7 @@ @property (nonatomic,retain) IBOutlet UITableView *tableView; @property (nonatomic,retain) IBOutlet UILabel *maxLabel; @property (nonatomic,retain) IBOutlet UISegmentedControl *segmentedControl; -@property (nonatomic,retain) IBOutlet ValueTrackingSliderView *slider; +@property (nonatomic,retain) IBOutlet MNEValueTrackingSlider *slider; @property (nonatomic,retain) NSIndexPath *lastIndexPath; @property (nonatomic,retain) NSArray *dataSourceArray; diff -r beab48f963d5 -r d8b98aa486a6 project_files/HedgewarsMobile/Classes/ValueTrackingSliderView.h --- a/project_files/HedgewarsMobile/Classes/ValueTrackingSliderView.h Sun Feb 12 18:08:34 2012 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,36 +0,0 @@ -/* - * Hedgewars-iOS, a Hedgewars port for iOS devices - * Copyright (c) 2009-2011 Vittorio Giovara - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 06/02/2012. - */ - -// class heavily based on: http://blog.neuwert-media.com/2011/04/customized-uislider-with-visual-value-tracking/ - - -#import - -@class SliderValuePopupView; - -@interface ValueTrackingSliderView : UISlider { - SliderValuePopupView *valuePopupView; - NSString *textValue; -} - -@property (nonatomic, readonly) CGRect thumbRect; -@property (nonatomic, retain) NSString *textValue; - -@end diff -r beab48f963d5 -r d8b98aa486a6 project_files/HedgewarsMobile/Classes/ValueTrackingSliderView.m --- a/project_files/HedgewarsMobile/Classes/ValueTrackingSliderView.m Sun Feb 12 18:08:34 2012 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,193 +0,0 @@ -/* - * Hedgewars-iOS, a Hedgewars port for iOS devices - * Copyright (c) 2009-2011 Vittorio Giovara - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 06/02/2012. - */ - -// class heavily based on: http://blog.neuwert-media.com/2011/04/customized-uislider-with-visual-value-tracking/ - - -#import "ValueTrackingSliderView.h" - -#pragma mark - -#pragma mark Private UIView subclass rendering the popup showing slider value -@interface SliderValuePopupView : UIView -@property (nonatomic) float value; -@property (nonatomic, retain) UIFont *font; -@property (nonatomic, retain) NSString *text; -@end - -@implementation SliderValuePopupView - -@synthesize value = _value; -@synthesize font = _font; -@synthesize text = _text; - --(id) initWithFrame:(CGRect) frame { - self = [super initWithFrame:frame]; - if (self) { - self.font = [UIFont boldSystemFontOfSize:18]; - } - return self; -} - --(void) dealloc { - self.text = nil; - self.font = nil; - [super dealloc]; -} - --(void) drawRect:(CGRect) rect { - // Create the path for the rounded rectangle - CGRect roundedRect = CGRectMake(self.bounds.origin.x, self.bounds.origin.y, self.bounds.size.width, floorf(self.bounds.size.height * 0.8)); - UIBezierPath *roundedRectPath = [UIBezierPath bezierPathWithRoundedRect:roundedRect cornerRadius:6.0]; - roundedRectPath.lineWidth = 2.0f; - - // Create the arrow path - UIBezierPath *arrowPath = [UIBezierPath bezierPath]; - CGFloat midX = CGRectGetMidX(self.bounds); - CGPoint p0 = CGPointMake(midX, CGRectGetMaxY(self.bounds)); - [arrowPath moveToPoint:p0]; - [arrowPath addLineToPoint:CGPointMake((midX - 10.0), CGRectGetMaxY(roundedRect))]; - [arrowPath addLineToPoint:CGPointMake((midX + 10.0), CGRectGetMaxY(roundedRect))]; - [arrowPath closePath]; - - // Attach the arrow path to the rounded rect - [roundedRectPath appendPath:arrowPath]; - - // Color various sections - [[UIColor blackColor] setFill]; - [roundedRectPath fill]; - [[UIColor whiteColor] setStroke]; - [roundedRectPath stroke]; - [[UIColor whiteColor] setFill]; - [arrowPath fill]; - - // Draw the text - if (self.text) { - [[UIColor lightYellowColor] set]; - CGSize s = [_text sizeWithFont:self.font]; - CGFloat yOffset = (roundedRect.size.height - s.height) / 2; - CGRect textRect = CGRectMake(roundedRect.origin.x, yOffset, roundedRect.size.width, s.height); - - [_text drawInRect:textRect - withFont:self.font - lineBreakMode:UILineBreakModeWordWrap - alignment:UITextAlignmentCenter]; - } -} - -@end - -#pragma mark - -#pragma mark MNEValueTrackingSlider implementations -@implementation ValueTrackingSliderView - -@synthesize thumbRect, textValue; - -#pragma Private methods - --(void) _constructSlider { - valuePopupView = [[SliderValuePopupView alloc] initWithFrame:CGRectZero]; - valuePopupView.backgroundColor = [UIColor clearColor]; - valuePopupView.alpha = 0.0; - [self addSubview:valuePopupView]; -} - --(void) _fadePopupViewInAndOut:(BOOL)aFadeIn { - [UIView beginAnimations:nil context:NULL]; - [UIView setAnimationDuration:0.25]; - if (aFadeIn) { - valuePopupView.alpha = 1.0; - } else { - valuePopupView.alpha = 0.0; - } - [UIView commitAnimations]; -} - --(void) _positionAndUpdatePopupView { - CGRect _thumbRect = self.thumbRect; - CGRect popupRect = CGRectOffset(_thumbRect, 0, -floorf(_thumbRect.size.height * 1.5)); - valuePopupView.frame = CGRectInset(popupRect, -100, -15); - valuePopupView.text = self.textValue; - [valuePopupView setNeedsDisplay]; -} - -#pragma mark Memory management - --(id) initWithFrame:(CGRect) frame { - self = [super initWithFrame:frame]; - if (self) { - [self _constructSlider]; - } - return self; -} - --(id) initWithCoder:(NSCoder *)aDecoder { - self = [super initWithCoder:aDecoder]; - if (self) { - [self _constructSlider]; - } - return self; -} - --(void) dealloc { - [valuePopupView release]; - [textValue release]; - [super dealloc]; -} - -#pragma mark - -#pragma mark UIControl touch event tracking --(BOOL) beginTrackingWithTouch:(UITouch *)touch withEvent:(UIEvent *)event { - // Fade in and update the popup view - CGPoint touchPoint = [touch locationInView:self]; - // Check if the knob is touched. Only in this case show the popup-view - if(CGRectContainsPoint(CGRectInset(self.thumbRect, -12.0, -12.0), touchPoint)) { - [self _positionAndUpdatePopupView]; - [self _fadePopupViewInAndOut:YES]; - } - return [super beginTrackingWithTouch:touch withEvent:event]; -} - --(BOOL) continueTrackingWithTouch:(UITouch *)touch withEvent:(UIEvent *)event { - // Update the popup view as slider knob is being moved - [self _positionAndUpdatePopupView]; - return [super continueTrackingWithTouch:touch withEvent:event]; -} - --(void) cancelTrackingWithEvent:(UIEvent *)event { - [super cancelTrackingWithEvent:event]; -} - --(void) endTrackingWithTouch:(UITouch *)touch withEvent:(UIEvent *)event { - // Fade out the popoup view - [self _fadePopupViewInAndOut:NO]; - [super endTrackingWithTouch:touch withEvent:event]; -} - -#pragma mark - -#pragma mark Custom property accessors --(CGRect) thumbRect { - CGRect trackRect = [self trackRectForBounds:self.bounds]; - CGRect thumbR = [self thumbRectForBounds:self.bounds - trackRect:trackRect - value:self.value]; - return thumbR; -} - -@end diff -r beab48f963d5 -r d8b98aa486a6 project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj --- a/project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj Sun Feb 12 18:08:34 2012 +0100 +++ b/project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj Sun Feb 12 18:50:22 2012 +0100 @@ -31,7 +31,7 @@ 610782961440EE5C00645B29 /* basicFlags.plist in Resources */ = {isa = PBXBuildFile; fileRef = 610782931440EE5C00645B29 /* basicFlags.plist */; }; 610782971440EE5C00645B29 /* credits.plist in Resources */ = {isa = PBXBuildFile; fileRef = 610782941440EE5C00645B29 /* credits.plist */; }; 610782981440EE5C00645B29 /* gameMods.plist in Resources */ = {isa = PBXBuildFile; fileRef = 610782951440EE5C00645B29 /* gameMods.plist */; }; - 610C8E3714E018D200CF5C4C /* ValueTrackingSliderView.m in Sources */ = {isa = PBXBuildFile; fileRef = 610C8E3614E018D200CF5C4C /* ValueTrackingSliderView.m */; }; + 610C8E3714E018D200CF5C4C /* MNEValueTrackingSlider.m in Sources */ = {isa = PBXBuildFile; fileRef = 610C8E3614E018D200CF5C4C /* MNEValueTrackingSlider.m */; }; 610D5FB21270E2660033333A /* Icon-Small@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 61F7A43411E290650040BA66 /* Icon-Small@2x.png */; }; 610D5FB31270E26C0033333A /* Icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 61F7A43611E290650040BA66 /* Icon@2x.png */; }; 61156521147F48B6006729A9 /* About.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61156520147F48B6006729A9 /* About.strings */; }; @@ -383,8 +383,8 @@ 610782931440EE5C00645B29 /* basicFlags.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = basicFlags.plist; path = Resources/basicFlags.plist; sourceTree = ""; }; 610782941440EE5C00645B29 /* credits.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = credits.plist; path = Resources/credits.plist; sourceTree = ""; }; 610782951440EE5C00645B29 /* gameMods.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = gameMods.plist; path = Resources/gameMods.plist; sourceTree = ""; }; - 610C8E3514E018D200CF5C4C /* ValueTrackingSliderView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ValueTrackingSliderView.h; path = Classes/ValueTrackingSliderView.h; sourceTree = ""; }; - 610C8E3614E018D200CF5C4C /* ValueTrackingSliderView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ValueTrackingSliderView.m; path = Classes/ValueTrackingSliderView.m; sourceTree = ""; }; + 610C8E3514E018D200CF5C4C /* MNEValueTrackingSlider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MNEValueTrackingSlider.h; path = Classes/MNEValueTrackingSlider.h; sourceTree = ""; }; + 610C8E3614E018D200CF5C4C /* MNEValueTrackingSlider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MNEValueTrackingSlider.m; path = Classes/MNEValueTrackingSlider.m; sourceTree = ""; }; 6115651A147F48AE006729A9 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = Locale/English.lproj/About.strings; sourceTree = ""; }; 6115651B147F48AE006729A9 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = Locale/English.lproj/Localizable.strings; sourceTree = ""; }; 6115651C147F48AE006729A9 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = Locale/English.lproj/Scheme.strings; sourceTree = ""; }; @@ -1126,8 +1126,8 @@ isa = PBXGroup; children = ( 615E75C014E42C9000FBA131 /* MGSplitViewController */, - 610C8E3514E018D200CF5C4C /* ValueTrackingSliderView.h */, - 610C8E3614E018D200CF5C4C /* ValueTrackingSliderView.m */, + 610C8E3514E018D200CF5C4C /* MNEValueTrackingSlider.h */, + 610C8E3614E018D200CF5C4C /* MNEValueTrackingSlider.m */, 619C5BA0124FA59000D041AE /* MapPreviewButtonView.h */, 619C5BA1124FA59000D041AE /* MapPreviewButtonView.m */, 61F544C512AF1748007FD913 /* HoldTableViewCell.h */, @@ -1763,7 +1763,7 @@ 61D08D7414AEA7FE0007C078 /* uGearsHedgehog.pas in Sources */, 61D08D7514AEA7FE0007C078 /* uGearsList.pas in Sources */, 61D08D7614AEA7FE0007C078 /* uGearsUtils.pas in Sources */, - 610C8E3714E018D200CF5C4C /* ValueTrackingSliderView.m in Sources */, + 610C8E3714E018D200CF5C4C /* MNEValueTrackingSlider.m in Sources */, 615E755A14E41E8C00FBA131 /* MXAudioPlayerFadeOperation.m in Sources */, 615E76BC14E4421200FBA131 /* MGSplitCornersView.m in Sources */, 615E76BD14E4421200FBA131 /* MGSplitDividerView.m in Sources */,