view src/video/uikit/SDL_uikitview.h @ 2399:d904584ea86d gsoc2008_iphone

Added SDL_WindowData for UIKit video driver. Now looks up instances here instead of assuming we're referring to a singleton.
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Tue, 22 Jul 2008 22:59:59 +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