view src/video/uikit/SDL_uikitview.h @ 2354:2e4fea4a4416 gsoc2008_iphone

These files contain the window related functions for the UIKit video driver.
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Thu, 17 Jul 2008 22:45:41 +0000
parents 07acabba25d9
children e9a1eed243c9
line wrap: on
line source

//
//  SDL_uikitview.h
//  iPodSDL
//
//  Created by Holmes Futrell on 6/23/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#include "SDL_stdinc.h"
#include "SDL_mouse.h"
#include "SDL_mouse_c.h"
#include "SDL_events.h"

#define MAX_SIMULTANEOUS_TOUCHES 5

@interface SDL_uikitview : UIView {
		
	SDL_Mouse mice[MAX_SIMULTANEOUS_TOUCHES];
	
}
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;

@end