Xcode/TemplatesForXcode/SDL Custom Cocoa Application/MyCustomWindow.h
author Sam Lantinga <slouken@libsdl.org>
Sat, 11 Aug 2007 18:51:12 +0000
changeset 2220 4d2d0548f5b2
parent 2213 59a667370c57
permissions -rw-r--r--
Don't run indent on the Xcode templates
     1 //
     2 //  MyCustomWindow.h
     3 //  SDL Custom View App
     4 //
     5 //  Created by Darrell Walisser on Fri Jul 18 2003.
     6 //  Copyright (c) 2003 __MyCompanyName__. All rights reserved.
     7 //
     8 
     9 #import <AppKit/AppKit.h>
    10 
    11 // Be a subclass of SDL_QuartzWindow so SDL will
    12 // handle the redraw problems when minimizing the window
    13 // This class is defined in SDL.framework
    14 @interface SDL_QuartzWindow : NSWindow
    15 @end
    16 
    17 // Also assign SDL_QuartzWindowDelegate to the window
    18 // to perform other tasks. You can subclass this delegate
    19 // if you want to add your own delegation methods
    20 // This class is defined in SDL.framework
    21 @interface SDL_QuartzWindowDelegate : NSObject
    22 @end
    23 
    24 // Declare our custom class
    25 @interface MyCustomWindow : SDL_QuartzWindow
    26 @end
    27