Skip to content

Commit 0d7e90a

Browse files
s1ddoks1ddok
authored andcommitted
Forget about CCTouch
1 parent 8b567c1 commit 0d7e90a

File tree

16 files changed

+16
-484
lines changed

16 files changed

+16
-484
lines changed

cocos2d-ui/CCControl.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
#import "CCControlSubclass.h"
2727
#import <objc/message.h>
2828
#import <objc/runtime.h>
29-
#import "CCTouch.h"
30-
#import "CCTouchEvent.h"
29+
#import "UITouch+CC.h"
3130

3231
#if __CC_PLATFORM_IOS
3332

cocos2d-ui/CCScrollView.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
#import "CCActionEase.h"
3030
#import "CCActionInstant.h"
3131
#import "CCResponderManager.h"
32-
#import "CCTouch.h"
33-
32+
#import "UITouch+CC.h"
3433

3534
#if __CC_PLATFORM_IOS
3635

cocos2d-ui/CCSlider.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import "CCSlider.h"
1010
#import "CCControlSubclass.h"
11-
#import "CCTouch.h"
11+
#include "UITouch+CC.h"
1212

1313
@interface CCSlider (Inputs)
1414
- (void) inputEnteredWithWorlPos:(CGPoint)worldLocation;

cocos2d.xcodeproj/project.pbxproj

Lines changed: 0 additions & 42 deletions
Large diffs are not rendered by default.

cocos2d/CCResponderManager.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@
3131
// TODO: Grab mouse and touch by implementing onPressed, onReleased, onClicked
3232

3333
#import <Foundation/Foundation.h>
34-
35-
#import "CCTouch.h"
36-
#import "CCTouchEvent.h"
37-
34+
#import "ccMacros.h"
3835
#if (TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR)
3936

4037
#import <UIKit/UIKit.h>

cocos2d/CCResponderManager.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@
3232
#import "CCDirector.h"
3333
#import "CCDirectorMac.h"
3434
#import "CCScene.h"
35-
#import "CCTouch.h"
3635

3736
// -----------------------------------------------------------------
3837
#pragma mark -
3938
// -----------------------------------------------------------------
40-
39+
@class CCGLView;
4140
@implementation CCRunningResponder
4241

4342
@end

cocos2d/CCTouch.h

Lines changed: 0 additions & 95 deletions
This file was deleted.

cocos2d/CCTouch.m

Lines changed: 0 additions & 82 deletions
This file was deleted.

cocos2d/CCTouchEvent.h

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)