Xcode/TemplatesForProjectBuilder/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
slouken@2207
     1
//
slouken@2207
     2
//  MyCustomWindow.h
slouken@2207
     3
//  SDL Custom View App
slouken@2207
     4
//
slouken@2207
     5
//  Created by Darrell Walisser on Fri Jul 18 2003.
slouken@2207
     6
//  Copyright (c) 2003 __MyCompanyName__. All rights reserved.
slouken@2207
     7
//
slouken@2207
     8
slouken@2207
     9
#import <AppKit/AppKit.h>
slouken@2207
    10
slouken@2207
    11
// Be a subclass of SDL_QuartzWindow so SDL will
slouken@2207
    12
// handle the redraw problems when minimizing the window
slouken@2207
    13
// This class is defined in SDL.framework
slouken@2220
    14
@interface SDL_QuartzWindow : NSWindow
slouken@2220
    15
@end
slouken@2220
    16
slouken@2207
    17
// Also assign SDL_QuartzWindowDelegate to the window
slouken@2207
    18
// to perform other tasks. You can subclass this delegate
slouken@2207
    19
// if you want to add your own delegation methods
slouken@2207
    20
// This class is defined in SDL.framework
slouken@2220
    21
@interface SDL_QuartzWindowDelegate : NSObject
slouken@2220
    22
@end
slouken@2220
    23
slouken@2207
    24
// Declare our custom class
slouken@2220
    25
@interface MyCustomWindow : SDL_QuartzWindow
slouken@2220
    26
@end
slouken@2220
    27