diff options
author | Jordi Vilalta Prat | 2008-01-28 00:14:17 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2008-01-28 00:14:17 +0000 |
commit | d6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd (patch) | |
tree | e6e98f266610f6428c248aed6abc75e637e45231 /backends/platform/iphone | |
parent | 66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985 (diff) | |
download | scummvm-rg350-d6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd.tar.gz scummvm-rg350-d6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd.tar.bz2 scummvm-rg350-d6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd.zip |
Fixed the spaces before tabs.
svn-id: r30667
Diffstat (limited to 'backends/platform/iphone')
-rw-r--r-- | backends/platform/iphone/iphone_keyboard.m | 4 | ||||
-rw-r--r-- | backends/platform/iphone/iphone_video.m | 32 | ||||
-rw-r--r-- | backends/platform/iphone/osys_iphone.cpp | 2 |
3 files changed, 19 insertions, 19 deletions
diff --git a/backends/platform/iphone/iphone_keyboard.m b/backends/platform/iphone/iphone_keyboard.m index 923b7be46d..dc2d417746 100644 --- a/backends/platform/iphone/iphone_keyboard.m +++ b/backends/platform/iphone/iphone_keyboard.m @@ -42,7 +42,7 @@ - (id)initWithKeyboard:(SoftKeyboard*)keyboard; { self = [super initWithFrame:CGRectMake(0.0f, 0.0f, 0.0f, 0.0f)]; - softKeyboard = keyboard; + softKeyboard = keyboard; return self; } @@ -85,4 +85,4 @@ [inputDelegate handleKeyPress:c]; } -@end
\ No newline at end of file +@end diff --git a/backends/platform/iphone/iphone_video.m b/backends/platform/iphone/iphone_video.m index d3a0b00bbe..6c6944045e 100644 --- a/backends/platform/iphone/iphone_video.m +++ b/backends/platform/iphone/iphone_video.m @@ -70,7 +70,7 @@ void iPhone_initSurface(int width, int height, bool landscape) { _height = height; _landscape = landscape; - [sharedInstance performSelectorOnMainThread:@selector(initSurface) withObject:nil waitUntilDone: YES]; + [sharedInstance performSelectorOnMainThread:@selector(initSurface) withObject:nil waitUntilDone: YES]; } bool iPhone_fetchEvent(int *outEvent, float *outX, float *outY) { @@ -134,14 +134,14 @@ bool getLocalMouseCoords(CGPoint *point) { - (void)drawRect:(CGRect)frame { // if (lastTick == 0) { - // lastTick = time(0); + // lastTick = time(0); // } // // frames++; // if (time(0) > lastTick) { - // lastTick = time(0); - // printf("FPS: %i\n", frames); - // frames = 0; + // lastTick = time(0); + // printf("FPS: %i\n", frames); + // frames = 0; // } } @@ -336,25 +336,25 @@ bool getLocalMouseCoords(CGPoint *point) { // struct CGPoint point = GSEventGetLocationInWindow(event); // // if (!getLocalMouseCoords(&point)) - // return; + // return; // // [self addEvent: - // [[NSDictionary alloc] initWithObjectsAndKeys: - // [NSNumber numberWithInt:kInputMouseSecondToggled], @"type", - // [NSNumber numberWithFloat:point.x], @"x", - // [NSNumber numberWithFloat:point.y], @"y", - // nil - // ] + // [[NSDictionary alloc] initWithObjectsAndKeys: + // [NSNumber numberWithInt:kInputMouseSecondToggled], @"type", + // [NSNumber numberWithFloat:point.x], @"x", + // [NSNumber numberWithFloat:point.y], @"y", + // nil + // ] // ]; } - (void)mouseExited:(GSEvent*)event { //printf("mouseExited().\n"); // [self addEvent: - // [[NSDictionary alloc] initWithObjectsAndKeys: - // @"mouseExited", @"type", - // nil - // ] + // [[NSDictionary alloc] initWithObjectsAndKeys: + // @"mouseExited", @"type", + // nil + // ] // ]; } diff --git a/backends/platform/iphone/osys_iphone.cpp b/backends/platform/iphone/osys_iphone.cpp index 2ca629d0e2..5bbb1b4ca9 100644 --- a/backends/platform/iphone/osys_iphone.cpp +++ b/backends/platform/iphone/osys_iphone.cpp @@ -728,7 +728,7 @@ bool OSystem_IPHONE::pollEvent(Common::Event &event) { //printf("Mouse dragged at (%u, %u)\n", x, y); if (_secondaryTapped) { if (_gestureStartX == -1 || _gestureStartY == -1) { - return false; + return false; } int vecX = (x - _gestureStartX); |