2a3ece755c
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@76 127b21dd-08f5-0310-b4b7-95ae10353056
27 lines
464 B
Objective-C
27 lines
464 B
Objective-C
/*
|
|
* This class encapsulates an SDL_Surface pointer so it can be stored in
|
|
* an Objective-C collection.
|
|
*
|
|
* David Taylor 23-May-2005
|
|
*/
|
|
#ifndef SDLIMAGE_H
|
|
#define SDLIMAGE_H
|
|
#include <Foundation/Foundation.h>
|
|
|
|
#include <SDL.h>
|
|
#include <SDL_image.h>
|
|
#include <SDL_rotozoom.h>
|
|
|
|
@interface SDLImage : NSObject
|
|
{
|
|
SDL_Surface *m_surface;
|
|
NSSize m_size;
|
|
}
|
|
|
|
- (id) initWithSurface: (SDL_Surface *)surface;
|
|
- (SDL_Surface *) surface;
|
|
- (NSSize) size;
|
|
@end
|
|
|
|
#endif
|