diff Xcode/TemplatesForProjectBuilder/SDL Custom Cocoa Application/MyController.h @ 2213:59a667370c57

make indent
author Bob Pendleton <bob@pendleton.com>
date Tue, 24 Jul 2007 18:46:45 +0000
parents d63e9f5944ae
children 23a2cb765052
line wrap: on
line diff
--- a/Xcode/TemplatesForProjectBuilder/SDL Custom Cocoa Application/MyController.h	Mon Jul 23 18:46:09 2007 +0000
+++ b/Xcode/TemplatesForProjectBuilder/SDL Custom Cocoa Application/MyController.h	Tue Jul 24 18:46:45 2007 +0000
@@ -9,38 +9,34 @@
 #import <Cocoa/Cocoa.h>
 #import "SDL.h"
 
-extern id gController; // instance of this class from nib
+extern id gController;          // instance of this class from nib
 
 // Declare SDL_QuartzWindowDelegate (defined in SDL.framework)
-@interface SDL_QuartzWindowDelegate : NSObject
-@end
-
-@interface MyController : NSObject
-{
+@interface SDL_QuartzWindowDelegate: NSObject @ end @ interface MyController:NSObject {
     // Interface Builder Outlets
-    IBOutlet id 	_framesPerSecond;
-    IBOutlet id 	_numSprites;
-    IBOutlet id 	_window;
-    IBOutlet id 	_view;
-    
+    IBOutlet id _framesPerSecond;
+    IBOutlet id _numSprites;
+    IBOutlet id _window;
+    IBOutlet id _view;
+
     // Private instance variables
-    int          _nSprites;
-    int          _max_speed;
-    int          _doFlip;
-    Uint8*       _mem;
-    
-    SDL_Surface* _screen;
-    SDL_Surface* _sprite;
-    SDL_Rect*    _sprite_rects;
-    SDL_Rect*    _positions;
-    SDL_Rect*    _velocities;
-    int          _sprites_visible;
-    Uint16       _sprite_w, _sprite_h;
-    
-    int 		 _mouse_x, _mouse_y;
+    int _nSprites;
+    int _max_speed;
+    int _doFlip;
+    Uint8 *_mem;
+
+    SDL_Surface *_screen;
+    SDL_Surface *_sprite;
+    SDL_Rect *_sprite_rects;
+    SDL_Rect *_positions;
+    SDL_Rect *_velocities;
+    int _sprites_visible;
+    Uint16 _sprite_w, _sprite_h;
+
+    int _mouse_x, _mouse_y;
 }
+
 // Interface Builder Actions
-- (IBAction)changeNumberOfSprites:(id)sender;
-- (IBAction)selectUpdateMode:(id)sender;
+-(IBAction) changeNumberOfSprites:(id) sender;
+-(IBAction) selectUpdateMode:(id) sender;
 @end
-