comparison Xcode/TemplatesForXcode/SDL Custom Cocoa Application/MyCustomWindow.h @ 2213:59a667370c57

make indent
author Bob Pendleton <bob@pendleton.com>
date Tue, 24 Jul 2007 18:46:45 +0000
parents d63e9f5944ae
children 4d2d0548f5b2
comparison
equal deleted inserted replaced
2212:fdadda42d4d4 2213:59a667370c57
9 #import <AppKit/AppKit.h> 9 #import <AppKit/AppKit.h>
10 10
11 // Be a subclass of SDL_QuartzWindow so SDL will 11 // Be a subclass of SDL_QuartzWindow so SDL will
12 // handle the redraw problems when minimizing the window 12 // handle the redraw problems when minimizing the window
13 // This class is defined in SDL.framework 13 // This class is defined in SDL.framework
14 @interface SDL_QuartzWindow : NSWindow 14 @ interface SDL_QuartzWindow:NSWindow @ end
15 @end
16
17 // Also assign SDL_QuartzWindowDelegate to the window 15 // Also assign SDL_QuartzWindowDelegate to the window
18 // to perform other tasks. You can subclass this delegate 16 // to perform other tasks. You can subclass this delegate
19 // if you want to add your own delegation methods 17 // if you want to add your own delegation methods
20 // This class is defined in SDL.framework 18 // This class is defined in SDL.framework
21 @interface SDL_QuartzWindowDelegate : NSObject 19 @ interface SDL_QuartzWindowDelegate:NSObject @ end
22 @end
23
24 // Declare our custom class 20 // Declare our custom class
25 @interface MyCustomWindow : SDL_QuartzWindow 21 @ interface MyCustomWindow:SDL_QuartzWindow @ end
26 @end
27